diff --git a/clients/go/admin/authtype_enumer.go b/clients/go/admin/authtype_enumer.go index 33a816637..d09a85ac6 100644 --- a/clients/go/admin/authtype_enumer.go +++ b/clients/go/admin/authtype_enumer.go @@ -1,5 +1,6 @@ // Code generated by "enumer --type=AuthType -json -yaml -trimprefix=AuthType"; DO NOT EDIT. +// package admin import ( diff --git a/clients/go/admin/mocks/CacheServiceClient.go b/clients/go/admin/mocks/CacheServiceClient.go new file mode 100644 index 000000000..0d8e354d9 --- /dev/null +++ b/clients/go/admin/mocks/CacheServiceClient.go @@ -0,0 +1,114 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import ( + context "context" + + grpc "google.golang.org/grpc" + + mock "github.com/stretchr/testify/mock" + + service "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service" +) + +// CacheServiceClient is an autogenerated mock type for the CacheServiceClient type +type CacheServiceClient struct { + mock.Mock +} + +type CacheServiceClient_EvictExecutionCache struct { + *mock.Call +} + +func (_m CacheServiceClient_EvictExecutionCache) Return(_a0 *service.EvictCacheResponse, _a1 error) *CacheServiceClient_EvictExecutionCache { + return &CacheServiceClient_EvictExecutionCache{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *CacheServiceClient) OnEvictExecutionCache(ctx context.Context, in *service.EvictExecutionCacheRequest, opts ...grpc.CallOption) *CacheServiceClient_EvictExecutionCache { + c_call := _m.On("EvictExecutionCache", ctx, in, opts) + return &CacheServiceClient_EvictExecutionCache{Call: c_call} +} + +func (_m *CacheServiceClient) OnEvictExecutionCacheMatch(matchers ...interface{}) *CacheServiceClient_EvictExecutionCache { + c_call := _m.On("EvictExecutionCache", matchers...) + return &CacheServiceClient_EvictExecutionCache{Call: c_call} +} + +// EvictExecutionCache provides a mock function with given fields: ctx, in, opts +func (_m *CacheServiceClient) EvictExecutionCache(ctx context.Context, in *service.EvictExecutionCacheRequest, opts ...grpc.CallOption) (*service.EvictCacheResponse, 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 *service.EvictCacheResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.EvictExecutionCacheRequest, ...grpc.CallOption) *service.EvictCacheResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.EvictCacheResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.EvictExecutionCacheRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type CacheServiceClient_EvictTaskExecutionCache struct { + *mock.Call +} + +func (_m CacheServiceClient_EvictTaskExecutionCache) Return(_a0 *service.EvictCacheResponse, _a1 error) *CacheServiceClient_EvictTaskExecutionCache { + return &CacheServiceClient_EvictTaskExecutionCache{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *CacheServiceClient) OnEvictTaskExecutionCache(ctx context.Context, in *service.EvictTaskExecutionCacheRequest, opts ...grpc.CallOption) *CacheServiceClient_EvictTaskExecutionCache { + c_call := _m.On("EvictTaskExecutionCache", ctx, in, opts) + return &CacheServiceClient_EvictTaskExecutionCache{Call: c_call} +} + +func (_m *CacheServiceClient) OnEvictTaskExecutionCacheMatch(matchers ...interface{}) *CacheServiceClient_EvictTaskExecutionCache { + c_call := _m.On("EvictTaskExecutionCache", matchers...) + return &CacheServiceClient_EvictTaskExecutionCache{Call: c_call} +} + +// EvictTaskExecutionCache provides a mock function with given fields: ctx, in, opts +func (_m *CacheServiceClient) EvictTaskExecutionCache(ctx context.Context, in *service.EvictTaskExecutionCacheRequest, opts ...grpc.CallOption) (*service.EvictCacheResponse, 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 *service.EvictCacheResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.EvictTaskExecutionCacheRequest, ...grpc.CallOption) *service.EvictCacheResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.EvictCacheResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.EvictTaskExecutionCacheRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/clients/go/admin/mocks/CacheServiceServer.go b/clients/go/admin/mocks/CacheServiceServer.go new file mode 100644 index 000000000..d30d21673 --- /dev/null +++ b/clients/go/admin/mocks/CacheServiceServer.go @@ -0,0 +1,97 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import ( + context "context" + + service "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service" + mock "github.com/stretchr/testify/mock" +) + +// CacheServiceServer is an autogenerated mock type for the CacheServiceServer type +type CacheServiceServer struct { + mock.Mock +} + +type CacheServiceServer_EvictExecutionCache struct { + *mock.Call +} + +func (_m CacheServiceServer_EvictExecutionCache) Return(_a0 *service.EvictCacheResponse, _a1 error) *CacheServiceServer_EvictExecutionCache { + return &CacheServiceServer_EvictExecutionCache{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *CacheServiceServer) OnEvictExecutionCache(_a0 context.Context, _a1 *service.EvictExecutionCacheRequest) *CacheServiceServer_EvictExecutionCache { + c_call := _m.On("EvictExecutionCache", _a0, _a1) + return &CacheServiceServer_EvictExecutionCache{Call: c_call} +} + +func (_m *CacheServiceServer) OnEvictExecutionCacheMatch(matchers ...interface{}) *CacheServiceServer_EvictExecutionCache { + c_call := _m.On("EvictExecutionCache", matchers...) + return &CacheServiceServer_EvictExecutionCache{Call: c_call} +} + +// EvictExecutionCache provides a mock function with given fields: _a0, _a1 +func (_m *CacheServiceServer) EvictExecutionCache(_a0 context.Context, _a1 *service.EvictExecutionCacheRequest) (*service.EvictCacheResponse, error) { + ret := _m.Called(_a0, _a1) + + var r0 *service.EvictCacheResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.EvictExecutionCacheRequest) *service.EvictCacheResponse); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.EvictCacheResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.EvictExecutionCacheRequest) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type CacheServiceServer_EvictTaskExecutionCache struct { + *mock.Call +} + +func (_m CacheServiceServer_EvictTaskExecutionCache) Return(_a0 *service.EvictCacheResponse, _a1 error) *CacheServiceServer_EvictTaskExecutionCache { + return &CacheServiceServer_EvictTaskExecutionCache{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *CacheServiceServer) OnEvictTaskExecutionCache(_a0 context.Context, _a1 *service.EvictTaskExecutionCacheRequest) *CacheServiceServer_EvictTaskExecutionCache { + c_call := _m.On("EvictTaskExecutionCache", _a0, _a1) + return &CacheServiceServer_EvictTaskExecutionCache{Call: c_call} +} + +func (_m *CacheServiceServer) OnEvictTaskExecutionCacheMatch(matchers ...interface{}) *CacheServiceServer_EvictTaskExecutionCache { + c_call := _m.On("EvictTaskExecutionCache", matchers...) + return &CacheServiceServer_EvictTaskExecutionCache{Call: c_call} +} + +// EvictTaskExecutionCache provides a mock function with given fields: _a0, _a1 +func (_m *CacheServiceServer) EvictTaskExecutionCache(_a0 context.Context, _a1 *service.EvictTaskExecutionCacheRequest) (*service.EvictCacheResponse, error) { + ret := _m.Called(_a0, _a1) + + var r0 *service.EvictCacheResponse + if rf, ok := ret.Get(0).(func(context.Context, *service.EvictTaskExecutionCacheRequest) *service.EvictCacheResponse); ok { + r0 = rf(_a0, _a1) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*service.EvictCacheResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *service.EvictTaskExecutionCacheRequest) error); ok { + r1 = rf(_a0, _a1) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/clients/go/admin/mocks/isEvictCacheRequest_Id.go b/clients/go/admin/mocks/isEvictCacheRequest_Id.go new file mode 100644 index 000000000..601036a40 --- /dev/null +++ b/clients/go/admin/mocks/isEvictCacheRequest_Id.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// isEvictCacheRequest_Id is an autogenerated mock type for the isEvictCacheRequest_Id type +type isEvictCacheRequest_Id struct { + mock.Mock +} + +// isEvictCacheRequest_Id provides a mock function with given fields: +func (_m *isEvictCacheRequest_Id) isEvictCacheRequest_Id() { + _m.Called() +} diff --git a/clients/go/datacatalog/mocks/DataCatalogClient.go b/clients/go/datacatalog/mocks/DataCatalogClient.go index 28e347f66..65f617ae6 100644 --- a/clients/go/datacatalog/mocks/DataCatalogClient.go +++ b/clients/go/datacatalog/mocks/DataCatalogClient.go @@ -160,6 +160,102 @@ func (_m *DataCatalogClient) CreateDataset(ctx context.Context, in *datacatalog. return r0, r1 } +type DataCatalogClient_DeleteArtifact struct { + *mock.Call +} + +func (_m DataCatalogClient_DeleteArtifact) Return(_a0 *datacatalog.DeleteArtifactResponse, _a1 error) *DataCatalogClient_DeleteArtifact { + return &DataCatalogClient_DeleteArtifact{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *DataCatalogClient) OnDeleteArtifact(ctx context.Context, in *datacatalog.DeleteArtifactRequest, opts ...grpc.CallOption) *DataCatalogClient_DeleteArtifact { + c_call := _m.On("DeleteArtifact", ctx, in, opts) + return &DataCatalogClient_DeleteArtifact{Call: c_call} +} + +func (_m *DataCatalogClient) OnDeleteArtifactMatch(matchers ...interface{}) *DataCatalogClient_DeleteArtifact { + c_call := _m.On("DeleteArtifact", matchers...) + return &DataCatalogClient_DeleteArtifact{Call: c_call} +} + +// DeleteArtifact provides a mock function with given fields: ctx, in, opts +func (_m *DataCatalogClient) DeleteArtifact(ctx context.Context, in *datacatalog.DeleteArtifactRequest, opts ...grpc.CallOption) (*datacatalog.DeleteArtifactResponse, 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 *datacatalog.DeleteArtifactResponse + if rf, ok := ret.Get(0).(func(context.Context, *datacatalog.DeleteArtifactRequest, ...grpc.CallOption) *datacatalog.DeleteArtifactResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*datacatalog.DeleteArtifactResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *datacatalog.DeleteArtifactRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +type DataCatalogClient_DeleteArtifacts struct { + *mock.Call +} + +func (_m DataCatalogClient_DeleteArtifacts) Return(_a0 *datacatalog.DeleteArtifactResponse, _a1 error) *DataCatalogClient_DeleteArtifacts { + return &DataCatalogClient_DeleteArtifacts{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *DataCatalogClient) OnDeleteArtifacts(ctx context.Context, in *datacatalog.DeleteArtifactsRequest, opts ...grpc.CallOption) *DataCatalogClient_DeleteArtifacts { + c_call := _m.On("DeleteArtifacts", ctx, in, opts) + return &DataCatalogClient_DeleteArtifacts{Call: c_call} +} + +func (_m *DataCatalogClient) OnDeleteArtifactsMatch(matchers ...interface{}) *DataCatalogClient_DeleteArtifacts { + c_call := _m.On("DeleteArtifacts", matchers...) + return &DataCatalogClient_DeleteArtifacts{Call: c_call} +} + +// DeleteArtifacts provides a mock function with given fields: ctx, in, opts +func (_m *DataCatalogClient) DeleteArtifacts(ctx context.Context, in *datacatalog.DeleteArtifactsRequest, opts ...grpc.CallOption) (*datacatalog.DeleteArtifactResponse, 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 *datacatalog.DeleteArtifactResponse + if rf, ok := ret.Get(0).(func(context.Context, *datacatalog.DeleteArtifactsRequest, ...grpc.CallOption) *datacatalog.DeleteArtifactResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*datacatalog.DeleteArtifactResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *datacatalog.DeleteArtifactsRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + type DataCatalogClient_GetArtifact struct { *mock.Call } @@ -304,6 +400,54 @@ func (_m *DataCatalogClient) GetOrExtendReservation(ctx context.Context, in *dat return r0, r1 } +type DataCatalogClient_GetOrExtendReservations struct { + *mock.Call +} + +func (_m DataCatalogClient_GetOrExtendReservations) Return(_a0 *datacatalog.GetOrExtendReservationsResponse, _a1 error) *DataCatalogClient_GetOrExtendReservations { + return &DataCatalogClient_GetOrExtendReservations{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *DataCatalogClient) OnGetOrExtendReservations(ctx context.Context, in *datacatalog.GetOrExtendReservationsRequest, opts ...grpc.CallOption) *DataCatalogClient_GetOrExtendReservations { + c_call := _m.On("GetOrExtendReservations", ctx, in, opts) + return &DataCatalogClient_GetOrExtendReservations{Call: c_call} +} + +func (_m *DataCatalogClient) OnGetOrExtendReservationsMatch(matchers ...interface{}) *DataCatalogClient_GetOrExtendReservations { + c_call := _m.On("GetOrExtendReservations", matchers...) + return &DataCatalogClient_GetOrExtendReservations{Call: c_call} +} + +// GetOrExtendReservations provides a mock function with given fields: ctx, in, opts +func (_m *DataCatalogClient) GetOrExtendReservations(ctx context.Context, in *datacatalog.GetOrExtendReservationsRequest, opts ...grpc.CallOption) (*datacatalog.GetOrExtendReservationsResponse, 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 *datacatalog.GetOrExtendReservationsResponse + if rf, ok := ret.Get(0).(func(context.Context, *datacatalog.GetOrExtendReservationsRequest, ...grpc.CallOption) *datacatalog.GetOrExtendReservationsResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*datacatalog.GetOrExtendReservationsResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *datacatalog.GetOrExtendReservationsRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + type DataCatalogClient_ListArtifacts struct { *mock.Call } @@ -448,6 +592,54 @@ func (_m *DataCatalogClient) ReleaseReservation(ctx context.Context, in *datacat return r0, r1 } +type DataCatalogClient_ReleaseReservations struct { + *mock.Call +} + +func (_m DataCatalogClient_ReleaseReservations) Return(_a0 *datacatalog.ReleaseReservationResponse, _a1 error) *DataCatalogClient_ReleaseReservations { + return &DataCatalogClient_ReleaseReservations{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *DataCatalogClient) OnReleaseReservations(ctx context.Context, in *datacatalog.ReleaseReservationsRequest, opts ...grpc.CallOption) *DataCatalogClient_ReleaseReservations { + c_call := _m.On("ReleaseReservations", ctx, in, opts) + return &DataCatalogClient_ReleaseReservations{Call: c_call} +} + +func (_m *DataCatalogClient) OnReleaseReservationsMatch(matchers ...interface{}) *DataCatalogClient_ReleaseReservations { + c_call := _m.On("ReleaseReservations", matchers...) + return &DataCatalogClient_ReleaseReservations{Call: c_call} +} + +// ReleaseReservations provides a mock function with given fields: ctx, in, opts +func (_m *DataCatalogClient) ReleaseReservations(ctx context.Context, in *datacatalog.ReleaseReservationsRequest, opts ...grpc.CallOption) (*datacatalog.ReleaseReservationResponse, 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 *datacatalog.ReleaseReservationResponse + if rf, ok := ret.Get(0).(func(context.Context, *datacatalog.ReleaseReservationsRequest, ...grpc.CallOption) *datacatalog.ReleaseReservationResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*datacatalog.ReleaseReservationResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *datacatalog.ReleaseReservationsRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + type DataCatalogClient_UpdateArtifact struct { *mock.Call } diff --git a/gen/pb-cpp/flyteidl/core/errors.pb.cc b/gen/pb-cpp/flyteidl/core/errors.pb.cc index cc160ff10..48255b01f 100644 --- a/gen/pb-cpp/flyteidl/core/errors.pb.cc +++ b/gen/pb-cpp/flyteidl/core/errors.pb.cc @@ -17,6 +17,10 @@ #include extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ferrors_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ContainerError_flyteidl_2fcore_2ferrors_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ferrors_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_CacheEvictionError_flyteidl_2fcore_2ferrors_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; namespace flyteidl { namespace core { class ContainerErrorDefaultTypeInternal { @@ -27,6 +31,16 @@ class ErrorDocumentDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _ErrorDocument_default_instance_; +class CacheEvictionErrorDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::core::TaskExecutionIdentifier* task_execution_id_; + const ::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id_; +} _CacheEvictionError_default_instance_; +class CacheEvictionErrorListDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CacheEvictionErrorList_default_instance_; } // namespace core } // namespace flyteidl static void InitDefaultsContainerError_flyteidl_2fcore_2ferrors_2eproto() { @@ -58,13 +72,47 @@ ::google::protobuf::internal::SCCInfo<1> scc_info_ErrorDocument_flyteidl_2fcore_ {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsErrorDocument_flyteidl_2fcore_2ferrors_2eproto}, { &scc_info_ContainerError_flyteidl_2fcore_2ferrors_2eproto.base,}}; +static void InitDefaultsCacheEvictionError_flyteidl_2fcore_2ferrors_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_CacheEvictionError_default_instance_; + new (ptr) ::flyteidl::core::CacheEvictionError(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::CacheEvictionError::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_CacheEvictionError_flyteidl_2fcore_2ferrors_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsCacheEvictionError_flyteidl_2fcore_2ferrors_2eproto}, { + &scc_info_NodeExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsCacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_CacheEvictionErrorList_default_instance_; + new (ptr) ::flyteidl::core::CacheEvictionErrorList(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::CacheEvictionErrorList::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_CacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto}, { + &scc_info_CacheEvictionError_flyteidl_2fcore_2ferrors_2eproto.base,}}; + void InitDefaults_flyteidl_2fcore_2ferrors_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_ContainerError_flyteidl_2fcore_2ferrors_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ErrorDocument_flyteidl_2fcore_2ferrors_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CacheEvictionError_flyteidl_2fcore_2ferrors_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2ferrors_2eproto[2]; -const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2ferrors_2eproto[1]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2ferrors_2eproto[4]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fcore_2ferrors_2eproto[2]; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fcore_2ferrors_2eproto = nullptr; const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2ferrors_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -83,48 +131,84 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2ferrors_2eproto::o ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::core::ErrorDocument, error_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionError, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionError, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionError, code_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionError, message_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionError, node_execution_id_), + offsetof(::flyteidl::core::CacheEvictionErrorDefaultTypeInternal, task_execution_id_), + offsetof(::flyteidl::core::CacheEvictionErrorDefaultTypeInternal, workflow_execution_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionError, source_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionErrorList, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::CacheEvictionErrorList, errors_), }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::core::ContainerError)}, { 9, -1, sizeof(::flyteidl::core::ErrorDocument)}, + { 15, -1, sizeof(::flyteidl::core::CacheEvictionError)}, + { 26, -1, sizeof(::flyteidl::core::CacheEvictionErrorList)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::core::_ContainerError_default_instance_), reinterpret_cast(&::flyteidl::core::_ErrorDocument_default_instance_), + reinterpret_cast(&::flyteidl::core::_CacheEvictionError_default_instance_), + reinterpret_cast(&::flyteidl::core::_CacheEvictionErrorList_default_instance_), }; ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fcore_2ferrors_2eproto = { {}, AddDescriptors_flyteidl_2fcore_2ferrors_2eproto, "flyteidl/core/errors.proto", schemas, file_default_instances, TableStruct_flyteidl_2fcore_2ferrors_2eproto::offsets, - file_level_metadata_flyteidl_2fcore_2ferrors_2eproto, 2, file_level_enum_descriptors_flyteidl_2fcore_2ferrors_2eproto, file_level_service_descriptors_flyteidl_2fcore_2ferrors_2eproto, + file_level_metadata_flyteidl_2fcore_2ferrors_2eproto, 4, file_level_enum_descriptors_flyteidl_2fcore_2ferrors_2eproto, file_level_service_descriptors_flyteidl_2fcore_2ferrors_2eproto, }; const char descriptor_table_protodef_flyteidl_2fcore_2ferrors_2eproto[] = "\n\032flyteidl/core/errors.proto\022\rflyteidl.c" - "ore\032\035flyteidl/core/execution.proto\"\310\001\n\016C" - "ontainerError\022\014\n\004code\030\001 \001(\t\022\017\n\007message\030\002" - " \001(\t\0220\n\004kind\030\003 \001(\0162\".flyteidl.core.Conta" - "inerError.Kind\0227\n\006origin\030\004 \001(\0162\'.flyteid" - "l.core.ExecutionError.ErrorKind\",\n\004Kind\022" - "\023\n\017NON_RECOVERABLE\020\000\022\017\n\013RECOVERABLE\020\001\"=\n" - "\rErrorDocument\022,\n\005error\030\001 \001(\0132\035.flyteidl" - ".core.ContainerErrorB6Z4github.com/flyte" - "org/flyteidl/gen/pb-go/flyteidl/coreb\006pr" - "oto3" + "ore\032\035flyteidl/core/execution.proto\032\036flyt" + "eidl/core/identifier.proto\"\310\001\n\016Container" + "Error\022\014\n\004code\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\0220\n\004" + "kind\030\003 \001(\0162\".flyteidl.core.ContainerErro" + "r.Kind\0227\n\006origin\030\004 \001(\0162\'.flyteidl.core.E" + "xecutionError.ErrorKind\",\n\004Kind\022\023\n\017NON_R" + "ECOVERABLE\020\000\022\017\n\013RECOVERABLE\020\001\"=\n\rErrorDo" + "cument\022,\n\005error\030\001 \001(\0132\035.flyteidl.core.Co" + "ntainerError\"\305\003\n\022CacheEvictionError\0224\n\004c" + "ode\030\001 \001(\0162&.flyteidl.core.CacheEvictionE" + "rror.Code\022\017\n\007message\030\002 \001(\t\022A\n\021node_execu" + "tion_id\030\003 \001(\0132&.flyteidl.core.NodeExecut" + "ionIdentifier\022C\n\021task_execution_id\030\004 \001(\013" + "2&.flyteidl.core.TaskExecutionIdentifier" + "H\000\022K\n\025workflow_execution_id\030\005 \001(\0132*.flyt" + "eidl.core.WorkflowExecutionIdentifierH\000\"" + "\210\001\n\004Code\022\014\n\010INTERNAL\020\000\022\034\n\030RESERVATION_NO" + "T_ACQUIRED\020\001\022\032\n\026DATABASE_UPDATE_FAILED\020\002" + "\022\032\n\026ARTIFACT_DELETE_FAILED\020\003\022\034\n\030RESERVAT" + "ION_NOT_RELEASED\020\004B\010\n\006source\"K\n\026CacheEvi" + "ctionErrorList\0221\n\006errors\030\001 \003(\0132!.flyteid" + "l.core.CacheEvictionErrorB6Z4github.com/" + "flyteorg/flyteidl/gen/pb-go/flyteidl/cor" + "eb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fcore_2ferrors_2eproto = { false, InitDefaults_flyteidl_2fcore_2ferrors_2eproto, descriptor_table_protodef_flyteidl_2fcore_2ferrors_2eproto, - "flyteidl/core/errors.proto", &assign_descriptors_table_flyteidl_2fcore_2ferrors_2eproto, 404, + "flyteidl/core/errors.proto", &assign_descriptors_table_flyteidl_2fcore_2ferrors_2eproto, 969, }; void AddDescriptors_flyteidl_2fcore_2ferrors_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = + static constexpr ::google::protobuf::internal::InitFunc deps[2] = { ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fcore_2ferrors_2eproto, deps, 1); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fcore_2ferrors_2eproto, deps, 2); } // Force running AddDescriptors() at dynamic initialization time. @@ -152,6 +236,33 @@ const ContainerError_Kind ContainerError::Kind_MIN; const ContainerError_Kind ContainerError::Kind_MAX; const int ContainerError::Kind_ARRAYSIZE; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 +const ::google::protobuf::EnumDescriptor* CacheEvictionError_Code_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fcore_2ferrors_2eproto); + return file_level_enum_descriptors_flyteidl_2fcore_2ferrors_2eproto[1]; +} +bool CacheEvictionError_Code_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const CacheEvictionError_Code CacheEvictionError::INTERNAL; +const CacheEvictionError_Code CacheEvictionError::RESERVATION_NOT_ACQUIRED; +const CacheEvictionError_Code CacheEvictionError::DATABASE_UPDATE_FAILED; +const CacheEvictionError_Code CacheEvictionError::ARTIFACT_DELETE_FAILED; +const CacheEvictionError_Code CacheEvictionError::RESERVATION_NOT_RELEASED; +const CacheEvictionError_Code CacheEvictionError::Code_MIN; +const CacheEvictionError_Code CacheEvictionError::Code_MAX; +const int CacheEvictionError::Code_ARRAYSIZE; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 // =================================================================== @@ -909,16 +1020,923 @@ ::google::protobuf::Metadata ErrorDocument::GetMetadata() const { } -// @@protoc_insertion_point(namespace_scope) -} // namespace core -} // namespace flyteidl -namespace google { -namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::core::ContainerError* Arena::CreateMaybeMessage< ::flyteidl::core::ContainerError >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ContainerError >(arena); +// =================================================================== + +void CacheEvictionError::InitAsDefaultInstance() { + ::flyteidl::core::_CacheEvictionError_default_instance_._instance.get_mutable()->node_execution_id_ = const_cast< ::flyteidl::core::NodeExecutionIdentifier*>( + ::flyteidl::core::NodeExecutionIdentifier::internal_default_instance()); + ::flyteidl::core::_CacheEvictionError_default_instance_.task_execution_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( + ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); + ::flyteidl::core::_CacheEvictionError_default_instance_.workflow_execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); } -template<> PROTOBUF_NOINLINE ::flyteidl::core::ErrorDocument* Arena::CreateMaybeMessage< ::flyteidl::core::ErrorDocument >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::core::ErrorDocument >(arena); +class CacheEvictionError::HasBitSetters { + public: + static const ::flyteidl::core::NodeExecutionIdentifier& node_execution_id(const CacheEvictionError* msg); + static const ::flyteidl::core::TaskExecutionIdentifier& task_execution_id(const CacheEvictionError* msg); + static const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution_id(const CacheEvictionError* msg); +}; + +const ::flyteidl::core::NodeExecutionIdentifier& +CacheEvictionError::HasBitSetters::node_execution_id(const CacheEvictionError* msg) { + return *msg->node_execution_id_; +} +const ::flyteidl::core::TaskExecutionIdentifier& +CacheEvictionError::HasBitSetters::task_execution_id(const CacheEvictionError* msg) { + return *msg->source_.task_execution_id_; +} +const ::flyteidl::core::WorkflowExecutionIdentifier& +CacheEvictionError::HasBitSetters::workflow_execution_id(const CacheEvictionError* msg) { + return *msg->source_.workflow_execution_id_; +} +void CacheEvictionError::clear_node_execution_id() { + if (GetArenaNoVirtual() == nullptr && node_execution_id_ != nullptr) { + delete node_execution_id_; + } + node_execution_id_ = nullptr; +} +void CacheEvictionError::set_allocated_task_execution_id(::flyteidl::core::TaskExecutionIdentifier* task_execution_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_source(); + if (task_execution_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + task_execution_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, task_execution_id, submessage_arena); + } + set_has_task_execution_id(); + source_.task_execution_id_ = task_execution_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CacheEvictionError.task_execution_id) +} +void CacheEvictionError::clear_task_execution_id() { + if (has_task_execution_id()) { + delete source_.task_execution_id_; + clear_has_source(); + } +} +void CacheEvictionError::set_allocated_workflow_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_source(); + if (workflow_execution_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_execution_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_execution_id, submessage_arena); + } + set_has_workflow_execution_id(); + source_.workflow_execution_id_ = workflow_execution_id; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CacheEvictionError.workflow_execution_id) +} +void CacheEvictionError::clear_workflow_execution_id() { + if (has_workflow_execution_id()) { + delete source_.workflow_execution_id_; + clear_has_source(); + } +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CacheEvictionError::kCodeFieldNumber; +const int CacheEvictionError::kMessageFieldNumber; +const int CacheEvictionError::kNodeExecutionIdFieldNumber; +const int CacheEvictionError::kTaskExecutionIdFieldNumber; +const int CacheEvictionError::kWorkflowExecutionIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CacheEvictionError::CacheEvictionError() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.CacheEvictionError) +} +CacheEvictionError::CacheEvictionError(const CacheEvictionError& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.message().size() > 0) { + message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); + } + if (from.has_node_execution_id()) { + node_execution_id_ = new ::flyteidl::core::NodeExecutionIdentifier(*from.node_execution_id_); + } else { + node_execution_id_ = nullptr; + } + code_ = from.code_; + clear_has_source(); + switch (from.source_case()) { + case kTaskExecutionId: { + mutable_task_execution_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_execution_id()); + break; + } + case kWorkflowExecutionId: { + mutable_workflow_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_execution_id()); + break; + } + case SOURCE_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.CacheEvictionError) +} + +void CacheEvictionError::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CacheEvictionError_flyteidl_2fcore_2ferrors_2eproto.base); + message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&node_execution_id_, 0, static_cast( + reinterpret_cast(&code_) - + reinterpret_cast(&node_execution_id_)) + sizeof(code_)); + clear_has_source(); +} + +CacheEvictionError::~CacheEvictionError() { + // @@protoc_insertion_point(destructor:flyteidl.core.CacheEvictionError) + SharedDtor(); +} + +void CacheEvictionError::SharedDtor() { + message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete node_execution_id_; + if (has_source()) { + clear_source(); + } +} + +void CacheEvictionError::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CacheEvictionError& CacheEvictionError::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CacheEvictionError_flyteidl_2fcore_2ferrors_2eproto.base); + return *internal_default_instance(); +} + + +void CacheEvictionError::clear_source() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.CacheEvictionError) + switch (source_case()) { + case kTaskExecutionId: { + delete source_.task_execution_id_; + break; + } + case kWorkflowExecutionId: { + delete source_.workflow_execution_id_; + break; + } + case SOURCE_NOT_SET: { + break; + } + } + _oneof_case_[0] = SOURCE_NOT_SET; +} + + +void CacheEvictionError::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.CacheEvictionError) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && node_execution_id_ != nullptr) { + delete node_execution_id_; + } + node_execution_id_ = nullptr; + code_ = 0; + clear_source(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CacheEvictionError::_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.core.CacheEvictionError.Code code = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + ::google::protobuf::uint64 val = ::google::protobuf::internal::ReadVarint(&ptr); + msg->set_code(static_cast<::flyteidl::core::CacheEvictionError_Code>(val)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // string message = 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.core.CacheEvictionError.message"); + object = msg->mutable_message(); + 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.core.NodeExecutionIdentifier node_execution_id = 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::core::NodeExecutionIdentifier::_InternalParse; + object = msg->mutable_node_execution_id(); + 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.core.TaskExecutionIdentifier task_execution_id = 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::core::TaskExecutionIdentifier::_InternalParse; + object = msg->mutable_task_execution_id(); + 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.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_workflow_execution_id(); + 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 CacheEvictionError::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.core.CacheEvictionError) + 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.core.CacheEvictionError.Code code = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (8 & 0xFF)) { + int value = 0; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_code(static_cast< ::flyteidl::core::CacheEvictionError_Code >(value)); + } else { + goto handle_unusual; + } + break; + } + + // string message = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->message().data(), static_cast(this->message().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.core.CacheEvictionError.message")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_node_execution_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_task_execution_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_execution_id())); + } 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.core.CacheEvictionError) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.CacheEvictionError) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CacheEvictionError::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.CacheEvictionError) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.CacheEvictionError.Code code = 1; + if (this->code() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->code(), output); + } + + // string message = 2; + if (this->message().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->message().data(), static_cast(this->message().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.CacheEvictionError.message"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->message(), output); + } + + // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + if (this->has_node_execution_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::node_execution_id(this), output); + } + + // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + if (has_task_execution_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::task_execution_id(this), output); + } + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + if (has_workflow_execution_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::workflow_execution_id(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.CacheEvictionError) +} + +::google::protobuf::uint8* CacheEvictionError::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CacheEvictionError) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.CacheEvictionError.Code code = 1; + if (this->code() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->code(), target); + } + + // string message = 2; + if (this->message().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->message().data(), static_cast(this->message().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.core.CacheEvictionError.message"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->message(), target); + } + + // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + if (this->has_node_execution_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::node_execution_id(this), target); + } + + // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + if (has_task_execution_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::task_execution_id(this), target); + } + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + if (has_workflow_execution_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::workflow_execution_id(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.core.CacheEvictionError) + return target; +} + +size_t CacheEvictionError::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CacheEvictionError) + 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 message = 2; + if (this->message().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + if (this->has_node_execution_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *node_execution_id_); + } + + // .flyteidl.core.CacheEvictionError.Code code = 1; + if (this->code() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->code()); + } + + switch (source_case()) { + // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + case kTaskExecutionId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *source_.task_execution_id_); + break; + } + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + case kWorkflowExecutionId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *source_.workflow_execution_id_); + break; + } + case SOURCE_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CacheEvictionError::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CacheEvictionError) + GOOGLE_DCHECK_NE(&from, this); + const CacheEvictionError* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CacheEvictionError) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CacheEvictionError) + MergeFrom(*source); + } +} + +void CacheEvictionError::MergeFrom(const CacheEvictionError& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CacheEvictionError) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.message().size() > 0) { + + message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_); + } + if (from.has_node_execution_id()) { + mutable_node_execution_id()->::flyteidl::core::NodeExecutionIdentifier::MergeFrom(from.node_execution_id()); + } + if (from.code() != 0) { + set_code(from.code()); + } + switch (from.source_case()) { + case kTaskExecutionId: { + mutable_task_execution_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_execution_id()); + break; + } + case kWorkflowExecutionId: { + mutable_workflow_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_execution_id()); + break; + } + case SOURCE_NOT_SET: { + break; + } + } +} + +void CacheEvictionError::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CacheEvictionError) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CacheEvictionError::CopyFrom(const CacheEvictionError& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CacheEvictionError) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CacheEvictionError::IsInitialized() const { + return true; +} + +void CacheEvictionError::Swap(CacheEvictionError* other) { + if (other == this) return; + InternalSwap(other); +} +void CacheEvictionError::InternalSwap(CacheEvictionError* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + message_.Swap(&other->message_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(node_execution_id_, other->node_execution_id_); + swap(code_, other->code_); + swap(source_, other->source_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata CacheEvictionError::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ferrors_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2ferrors_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CacheEvictionErrorList::InitAsDefaultInstance() { +} +class CacheEvictionErrorList::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CacheEvictionErrorList::kErrorsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CacheEvictionErrorList::CacheEvictionErrorList() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.CacheEvictionErrorList) +} +CacheEvictionErrorList::CacheEvictionErrorList(const CacheEvictionErrorList& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + errors_(from.errors_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.core.CacheEvictionErrorList) +} + +void CacheEvictionErrorList::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto.base); +} + +CacheEvictionErrorList::~CacheEvictionErrorList() { + // @@protoc_insertion_point(destructor:flyteidl.core.CacheEvictionErrorList) + SharedDtor(); +} + +void CacheEvictionErrorList::SharedDtor() { +} + +void CacheEvictionErrorList::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CacheEvictionErrorList& CacheEvictionErrorList::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto.base); + return *internal_default_instance(); +} + + +void CacheEvictionErrorList::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.CacheEvictionErrorList) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + errors_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CacheEvictionErrorList::_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 .flyteidl.core.CacheEvictionError errors = 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 = ::flyteidl::core::CacheEvictionError::_InternalParse; + object = msg->add_errors(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + 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 CacheEvictionErrorList::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.core.CacheEvictionErrorList) + 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 .flyteidl.core.CacheEvictionError errors = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_errors())); + } 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.core.CacheEvictionErrorList) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.CacheEvictionErrorList) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CacheEvictionErrorList::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.CacheEvictionErrorList) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.core.CacheEvictionError errors = 1; + for (unsigned int i = 0, + n = static_cast(this->errors_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->errors(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.core.CacheEvictionErrorList) +} + +::google::protobuf::uint8* CacheEvictionErrorList::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.CacheEvictionErrorList) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.core.CacheEvictionError errors = 1; + for (unsigned int i = 0, + n = static_cast(this->errors_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->errors(static_cast(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.core.CacheEvictionErrorList) + return target; +} + +size_t CacheEvictionErrorList::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.CacheEvictionErrorList) + 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 .flyteidl.core.CacheEvictionError errors = 1; + { + unsigned int count = static_cast(this->errors_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->errors(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CacheEvictionErrorList::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.CacheEvictionErrorList) + GOOGLE_DCHECK_NE(&from, this); + const CacheEvictionErrorList* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.CacheEvictionErrorList) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.CacheEvictionErrorList) + MergeFrom(*source); + } +} + +void CacheEvictionErrorList::MergeFrom(const CacheEvictionErrorList& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.CacheEvictionErrorList) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + errors_.MergeFrom(from.errors_); +} + +void CacheEvictionErrorList::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.CacheEvictionErrorList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CacheEvictionErrorList::CopyFrom(const CacheEvictionErrorList& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.CacheEvictionErrorList) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CacheEvictionErrorList::IsInitialized() const { + return true; +} + +void CacheEvictionErrorList::Swap(CacheEvictionErrorList* other) { + if (other == this) return; + InternalSwap(other); +} +void CacheEvictionErrorList::InternalSwap(CacheEvictionErrorList* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&errors_)->InternalSwap(CastToBase(&other->errors_)); +} + +::google::protobuf::Metadata CacheEvictionErrorList::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fcore_2ferrors_2eproto); + return ::file_level_metadata_flyteidl_2fcore_2ferrors_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace core +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::core::ContainerError* Arena::CreateMaybeMessage< ::flyteidl::core::ContainerError >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::ContainerError >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::ErrorDocument* Arena::CreateMaybeMessage< ::flyteidl::core::ErrorDocument >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::ErrorDocument >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::CacheEvictionError* Arena::CreateMaybeMessage< ::flyteidl::core::CacheEvictionError >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::CacheEvictionError >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::CacheEvictionErrorList* Arena::CreateMaybeMessage< ::flyteidl::core::CacheEvictionErrorList >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::CacheEvictionErrorList >(arena); } } // namespace protobuf } // namespace google diff --git a/gen/pb-cpp/flyteidl/core/errors.pb.h b/gen/pb-cpp/flyteidl/core/errors.pb.h index 993d23487..dd3456a9f 100644 --- a/gen/pb-cpp/flyteidl/core/errors.pb.h +++ b/gen/pb-cpp/flyteidl/core/errors.pb.h @@ -33,6 +33,7 @@ #include #include #include "flyteidl/core/execution.pb.h" +#include "flyteidl/core/identifier.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ferrors_2eproto @@ -43,7 +44,7 @@ struct TableStruct_flyteidl_2fcore_2ferrors_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[2] + static const ::google::protobuf::internal::ParseTable schema[4] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -52,6 +53,12 @@ struct TableStruct_flyteidl_2fcore_2ferrors_2eproto { void AddDescriptors_flyteidl_2fcore_2ferrors_2eproto(); namespace flyteidl { namespace core { +class CacheEvictionError; +class CacheEvictionErrorDefaultTypeInternal; +extern CacheEvictionErrorDefaultTypeInternal _CacheEvictionError_default_instance_; +class CacheEvictionErrorList; +class CacheEvictionErrorListDefaultTypeInternal; +extern CacheEvictionErrorListDefaultTypeInternal _CacheEvictionErrorList_default_instance_; class ContainerError; class ContainerErrorDefaultTypeInternal; extern ContainerErrorDefaultTypeInternal _ContainerError_default_instance_; @@ -62,6 +69,8 @@ extern ErrorDocumentDefaultTypeInternal _ErrorDocument_default_instance_; } // namespace flyteidl namespace google { namespace protobuf { +template<> ::flyteidl::core::CacheEvictionError* Arena::CreateMaybeMessage<::flyteidl::core::CacheEvictionError>(Arena*); +template<> ::flyteidl::core::CacheEvictionErrorList* Arena::CreateMaybeMessage<::flyteidl::core::CacheEvictionErrorList>(Arena*); template<> ::flyteidl::core::ContainerError* Arena::CreateMaybeMessage<::flyteidl::core::ContainerError>(Arena*); template<> ::flyteidl::core::ErrorDocument* Arena::CreateMaybeMessage<::flyteidl::core::ErrorDocument>(Arena*); } // namespace protobuf @@ -90,6 +99,30 @@ inline bool ContainerError_Kind_Parse( return ::google::protobuf::internal::ParseNamedEnum( ContainerError_Kind_descriptor(), name, value); } +enum CacheEvictionError_Code { + CacheEvictionError_Code_INTERNAL = 0, + CacheEvictionError_Code_RESERVATION_NOT_ACQUIRED = 1, + CacheEvictionError_Code_DATABASE_UPDATE_FAILED = 2, + CacheEvictionError_Code_ARTIFACT_DELETE_FAILED = 3, + CacheEvictionError_Code_RESERVATION_NOT_RELEASED = 4, + CacheEvictionError_Code_CacheEvictionError_Code_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), + CacheEvictionError_Code_CacheEvictionError_Code_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() +}; +bool CacheEvictionError_Code_IsValid(int value); +const CacheEvictionError_Code CacheEvictionError_Code_Code_MIN = CacheEvictionError_Code_INTERNAL; +const CacheEvictionError_Code CacheEvictionError_Code_Code_MAX = CacheEvictionError_Code_RESERVATION_NOT_RELEASED; +const int CacheEvictionError_Code_Code_ARRAYSIZE = CacheEvictionError_Code_Code_MAX + 1; + +const ::google::protobuf::EnumDescriptor* CacheEvictionError_Code_descriptor(); +inline const ::std::string& CacheEvictionError_Code_Name(CacheEvictionError_Code value) { + return ::google::protobuf::internal::NameOfEnum( + CacheEvictionError_Code_descriptor(), value); +} +inline bool CacheEvictionError_Code_Parse( + const ::std::string& name, CacheEvictionError_Code* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CacheEvictionError_Code_descriptor(), name, value); +} // =================================================================== class ContainerError final : @@ -380,6 +413,331 @@ class ErrorDocument final : mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fcore_2ferrors_2eproto; }; +// ------------------------------------------------------------------- + +class CacheEvictionError final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CacheEvictionError) */ { + public: + CacheEvictionError(); + virtual ~CacheEvictionError(); + + CacheEvictionError(const CacheEvictionError& from); + + inline CacheEvictionError& operator=(const CacheEvictionError& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CacheEvictionError(CacheEvictionError&& from) noexcept + : CacheEvictionError() { + *this = ::std::move(from); + } + + inline CacheEvictionError& operator=(CacheEvictionError&& 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 CacheEvictionError& default_instance(); + + enum SourceCase { + kTaskExecutionId = 4, + kWorkflowExecutionId = 5, + SOURCE_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CacheEvictionError* internal_default_instance() { + return reinterpret_cast( + &_CacheEvictionError_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(CacheEvictionError* other); + friend void swap(CacheEvictionError& a, CacheEvictionError& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CacheEvictionError* New() const final { + return CreateMaybeMessage(nullptr); + } + + CacheEvictionError* 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 CacheEvictionError& from); + void MergeFrom(const CacheEvictionError& 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(CacheEvictionError* 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 ---------------------------------------------------- + + typedef CacheEvictionError_Code Code; + static const Code INTERNAL = + CacheEvictionError_Code_INTERNAL; + static const Code RESERVATION_NOT_ACQUIRED = + CacheEvictionError_Code_RESERVATION_NOT_ACQUIRED; + static const Code DATABASE_UPDATE_FAILED = + CacheEvictionError_Code_DATABASE_UPDATE_FAILED; + static const Code ARTIFACT_DELETE_FAILED = + CacheEvictionError_Code_ARTIFACT_DELETE_FAILED; + static const Code RESERVATION_NOT_RELEASED = + CacheEvictionError_Code_RESERVATION_NOT_RELEASED; + static inline bool Code_IsValid(int value) { + return CacheEvictionError_Code_IsValid(value); + } + static const Code Code_MIN = + CacheEvictionError_Code_Code_MIN; + static const Code Code_MAX = + CacheEvictionError_Code_Code_MAX; + static const int Code_ARRAYSIZE = + CacheEvictionError_Code_Code_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + Code_descriptor() { + return CacheEvictionError_Code_descriptor(); + } + static inline const ::std::string& Code_Name(Code value) { + return CacheEvictionError_Code_Name(value); + } + static inline bool Code_Parse(const ::std::string& name, + Code* value) { + return CacheEvictionError_Code_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // string message = 2; + void clear_message(); + static const int kMessageFieldNumber = 2; + const ::std::string& message() const; + void set_message(const ::std::string& value); + #if LANG_CXX11 + void set_message(::std::string&& value); + #endif + void set_message(const char* value); + void set_message(const char* value, size_t size); + ::std::string* mutable_message(); + ::std::string* release_message(); + void set_allocated_message(::std::string* message); + + // .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + bool has_node_execution_id() const; + void clear_node_execution_id(); + static const int kNodeExecutionIdFieldNumber = 3; + const ::flyteidl::core::NodeExecutionIdentifier& node_execution_id() const; + ::flyteidl::core::NodeExecutionIdentifier* release_node_execution_id(); + ::flyteidl::core::NodeExecutionIdentifier* mutable_node_execution_id(); + void set_allocated_node_execution_id(::flyteidl::core::NodeExecutionIdentifier* node_execution_id); + + // .flyteidl.core.CacheEvictionError.Code code = 1; + void clear_code(); + static const int kCodeFieldNumber = 1; + ::flyteidl::core::CacheEvictionError_Code code() const; + void set_code(::flyteidl::core::CacheEvictionError_Code value); + + // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + bool has_task_execution_id() const; + void clear_task_execution_id(); + static const int kTaskExecutionIdFieldNumber = 4; + const ::flyteidl::core::TaskExecutionIdentifier& task_execution_id() const; + ::flyteidl::core::TaskExecutionIdentifier* release_task_execution_id(); + ::flyteidl::core::TaskExecutionIdentifier* mutable_task_execution_id(); + void set_allocated_task_execution_id(::flyteidl::core::TaskExecutionIdentifier* task_execution_id); + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + bool has_workflow_execution_id() const; + void clear_workflow_execution_id(); + static const int kWorkflowExecutionIdFieldNumber = 5; + const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution_id() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_workflow_execution_id(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_workflow_execution_id(); + void set_allocated_workflow_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id); + + void clear_source(); + SourceCase source_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.core.CacheEvictionError) + private: + class HasBitSetters; + void set_has_task_execution_id(); + void set_has_workflow_execution_id(); + + inline bool has_source() const; + inline void clear_has_source(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr message_; + ::flyteidl::core::NodeExecutionIdentifier* node_execution_id_; + int code_; + union SourceUnion { + SourceUnion() {} + ::flyteidl::core::TaskExecutionIdentifier* task_execution_id_; + ::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id_; + } source_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fcore_2ferrors_2eproto; +}; +// ------------------------------------------------------------------- + +class CacheEvictionErrorList final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.CacheEvictionErrorList) */ { + public: + CacheEvictionErrorList(); + virtual ~CacheEvictionErrorList(); + + CacheEvictionErrorList(const CacheEvictionErrorList& from); + + inline CacheEvictionErrorList& operator=(const CacheEvictionErrorList& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CacheEvictionErrorList(CacheEvictionErrorList&& from) noexcept + : CacheEvictionErrorList() { + *this = ::std::move(from); + } + + inline CacheEvictionErrorList& operator=(CacheEvictionErrorList&& 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 CacheEvictionErrorList& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CacheEvictionErrorList* internal_default_instance() { + return reinterpret_cast( + &_CacheEvictionErrorList_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(CacheEvictionErrorList* other); + friend void swap(CacheEvictionErrorList& a, CacheEvictionErrorList& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CacheEvictionErrorList* New() const final { + return CreateMaybeMessage(nullptr); + } + + CacheEvictionErrorList* 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 CacheEvictionErrorList& from); + void MergeFrom(const CacheEvictionErrorList& 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(CacheEvictionErrorList* 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 .flyteidl.core.CacheEvictionError errors = 1; + int errors_size() const; + void clear_errors(); + static const int kErrorsFieldNumber = 1; + ::flyteidl::core::CacheEvictionError* mutable_errors(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CacheEvictionError >* + mutable_errors(); + const ::flyteidl::core::CacheEvictionError& errors(int index) const; + ::flyteidl::core::CacheEvictionError* add_errors(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CacheEvictionError >& + errors() const; + + // @@protoc_insertion_point(class_scope:flyteidl.core.CacheEvictionErrorList) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CacheEvictionError > errors_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fcore_2ferrors_2eproto; +}; // =================================================================== @@ -580,11 +938,244 @@ inline void ErrorDocument::set_allocated_error(::flyteidl::core::ContainerError* // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ErrorDocument.error) } +// ------------------------------------------------------------------- + +// CacheEvictionError + +// .flyteidl.core.CacheEvictionError.Code code = 1; +inline void CacheEvictionError::clear_code() { + code_ = 0; +} +inline ::flyteidl::core::CacheEvictionError_Code CacheEvictionError::code() const { + // @@protoc_insertion_point(field_get:flyteidl.core.CacheEvictionError.code) + return static_cast< ::flyteidl::core::CacheEvictionError_Code >(code_); +} +inline void CacheEvictionError::set_code(::flyteidl::core::CacheEvictionError_Code value) { + + code_ = value; + // @@protoc_insertion_point(field_set:flyteidl.core.CacheEvictionError.code) +} + +// string message = 2; +inline void CacheEvictionError::clear_message() { + message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& CacheEvictionError::message() const { + // @@protoc_insertion_point(field_get:flyteidl.core.CacheEvictionError.message) + return message_.GetNoArena(); +} +inline void CacheEvictionError::set_message(const ::std::string& value) { + + message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.core.CacheEvictionError.message) +} +#if LANG_CXX11 +inline void CacheEvictionError::set_message(::std::string&& value) { + + message_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.core.CacheEvictionError.message) +} +#endif +inline void CacheEvictionError::set_message(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.core.CacheEvictionError.message) +} +inline void CacheEvictionError::set_message(const char* value, size_t size) { + + message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.core.CacheEvictionError.message) +} +inline ::std::string* CacheEvictionError::mutable_message() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.CacheEvictionError.message) + return message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CacheEvictionError::release_message() { + // @@protoc_insertion_point(field_release:flyteidl.core.CacheEvictionError.message) + + return message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CacheEvictionError::set_allocated_message(::std::string* message) { + if (message != nullptr) { + + } else { + + } + message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), message); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CacheEvictionError.message) +} + +// .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; +inline bool CacheEvictionError::has_node_execution_id() const { + return this != internal_default_instance() && node_execution_id_ != nullptr; +} +inline const ::flyteidl::core::NodeExecutionIdentifier& CacheEvictionError::node_execution_id() const { + const ::flyteidl::core::NodeExecutionIdentifier* p = node_execution_id_; + // @@protoc_insertion_point(field_get:flyteidl.core.CacheEvictionError.node_execution_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_NodeExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::NodeExecutionIdentifier* CacheEvictionError::release_node_execution_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.CacheEvictionError.node_execution_id) + + ::flyteidl::core::NodeExecutionIdentifier* temp = node_execution_id_; + node_execution_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::NodeExecutionIdentifier* CacheEvictionError::mutable_node_execution_id() { + + if (node_execution_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::NodeExecutionIdentifier>(GetArenaNoVirtual()); + node_execution_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.CacheEvictionError.node_execution_id) + return node_execution_id_; +} +inline void CacheEvictionError::set_allocated_node_execution_id(::flyteidl::core::NodeExecutionIdentifier* node_execution_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(node_execution_id_); + } + if (node_execution_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + node_execution_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, node_execution_id, submessage_arena); + } + + } else { + + } + node_execution_id_ = node_execution_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.CacheEvictionError.node_execution_id) +} + +// .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; +inline bool CacheEvictionError::has_task_execution_id() const { + return source_case() == kTaskExecutionId; +} +inline void CacheEvictionError::set_has_task_execution_id() { + _oneof_case_[0] = kTaskExecutionId; +} +inline ::flyteidl::core::TaskExecutionIdentifier* CacheEvictionError::release_task_execution_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.CacheEvictionError.task_execution_id) + if (has_task_execution_id()) { + clear_has_source(); + ::flyteidl::core::TaskExecutionIdentifier* temp = source_.task_execution_id_; + source_.task_execution_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::TaskExecutionIdentifier& CacheEvictionError::task_execution_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.CacheEvictionError.task_execution_id) + return has_task_execution_id() + ? *source_.task_execution_id_ + : *reinterpret_cast< ::flyteidl::core::TaskExecutionIdentifier*>(&::flyteidl::core::_TaskExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::TaskExecutionIdentifier* CacheEvictionError::mutable_task_execution_id() { + if (!has_task_execution_id()) { + clear_source(); + set_has_task_execution_id(); + source_.task_execution_id_ = CreateMaybeMessage< ::flyteidl::core::TaskExecutionIdentifier >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.CacheEvictionError.task_execution_id) + return source_.task_execution_id_; +} + +// .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; +inline bool CacheEvictionError::has_workflow_execution_id() const { + return source_case() == kWorkflowExecutionId; +} +inline void CacheEvictionError::set_has_workflow_execution_id() { + _oneof_case_[0] = kWorkflowExecutionId; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CacheEvictionError::release_workflow_execution_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.CacheEvictionError.workflow_execution_id) + if (has_workflow_execution_id()) { + clear_has_source(); + ::flyteidl::core::WorkflowExecutionIdentifier* temp = source_.workflow_execution_id_; + source_.workflow_execution_id_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& CacheEvictionError::workflow_execution_id() const { + // @@protoc_insertion_point(field_get:flyteidl.core.CacheEvictionError.workflow_execution_id) + return has_workflow_execution_id() + ? *source_.workflow_execution_id_ + : *reinterpret_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>(&::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* CacheEvictionError::mutable_workflow_execution_id() { + if (!has_workflow_execution_id()) { + clear_source(); + set_has_workflow_execution_id(); + source_.workflow_execution_id_ = CreateMaybeMessage< ::flyteidl::core::WorkflowExecutionIdentifier >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.CacheEvictionError.workflow_execution_id) + return source_.workflow_execution_id_; +} + +inline bool CacheEvictionError::has_source() const { + return source_case() != SOURCE_NOT_SET; +} +inline void CacheEvictionError::clear_has_source() { + _oneof_case_[0] = SOURCE_NOT_SET; +} +inline CacheEvictionError::SourceCase CacheEvictionError::source_case() const { + return CacheEvictionError::SourceCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// CacheEvictionErrorList + +// repeated .flyteidl.core.CacheEvictionError errors = 1; +inline int CacheEvictionErrorList::errors_size() const { + return errors_.size(); +} +inline void CacheEvictionErrorList::clear_errors() { + errors_.Clear(); +} +inline ::flyteidl::core::CacheEvictionError* CacheEvictionErrorList::mutable_errors(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.core.CacheEvictionErrorList.errors) + return errors_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CacheEvictionError >* +CacheEvictionErrorList::mutable_errors() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.core.CacheEvictionErrorList.errors) + return &errors_; +} +inline const ::flyteidl::core::CacheEvictionError& CacheEvictionErrorList::errors(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.core.CacheEvictionErrorList.errors) + return errors_.Get(index); +} +inline ::flyteidl::core::CacheEvictionError* CacheEvictionErrorList::add_errors() { + // @@protoc_insertion_point(field_add:flyteidl.core.CacheEvictionErrorList.errors) + return errors_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::CacheEvictionError >& +CacheEvictionErrorList::errors() const { + // @@protoc_insertion_point(field_list:flyteidl.core.CacheEvictionErrorList.errors) + return errors_; +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) @@ -599,6 +1190,11 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::ContainerError_Kind>() { return ::flyteidl::core::ContainerError_Kind_descriptor(); } +template <> struct is_proto_enum< ::flyteidl::core::CacheEvictionError_Code> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::core::CacheEvictionError_Code>() { + return ::flyteidl::core::CacheEvictionError_Code_descriptor(); +} } // namespace protobuf } // namespace google diff --git a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.cc b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.cc index 9fa10c82c..b8ce82e48 100644 --- a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.cc +++ b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.cc @@ -27,8 +27,12 @@ static const char* DataCatalog_method_names[] = { "/datacatalog.DataCatalog/ListArtifacts", "/datacatalog.DataCatalog/ListDatasets", "/datacatalog.DataCatalog/UpdateArtifact", + "/datacatalog.DataCatalog/DeleteArtifact", + "/datacatalog.DataCatalog/DeleteArtifacts", "/datacatalog.DataCatalog/GetOrExtendReservation", + "/datacatalog.DataCatalog/GetOrExtendReservations", "/datacatalog.DataCatalog/ReleaseReservation", + "/datacatalog.DataCatalog/ReleaseReservations", }; std::unique_ptr< DataCatalog::Stub> DataCatalog::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { @@ -46,8 +50,12 @@ DataCatalog::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channe , rpcmethod_ListArtifacts_(DataCatalog_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListDatasets_(DataCatalog_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_UpdateArtifact_(DataCatalog_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetOrExtendReservation_(DataCatalog_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ReleaseReservation_(DataCatalog_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteArtifact_(DataCatalog_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteArtifacts_(DataCatalog_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetOrExtendReservation_(DataCatalog_method_names[10], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetOrExtendReservations_(DataCatalog_method_names[11], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ReleaseReservation_(DataCatalog_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ReleaseReservations_(DataCatalog_method_names[13], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status DataCatalog::Stub::CreateDataset(::grpc::ClientContext* context, const ::datacatalog::CreateDatasetRequest& request, ::datacatalog::CreateDatasetResponse* response) { @@ -274,6 +282,62 @@ ::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>* DataC return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::UpdateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_UpdateArtifact_, context, request, false); } +::grpc::Status DataCatalog::Stub::DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::datacatalog::DeleteArtifactResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteArtifact_, context, request, response); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifact_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifact_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifact_, context, request, response, reactor); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifact_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* DataCatalog::Stub::AsyncDeleteArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::DeleteArtifactResponse>::Create(channel_.get(), cq, rpcmethod_DeleteArtifact_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* DataCatalog::Stub::PrepareAsyncDeleteArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::DeleteArtifactResponse>::Create(channel_.get(), cq, rpcmethod_DeleteArtifact_, context, request, false); +} + +::grpc::Status DataCatalog::Stub::DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::datacatalog::DeleteArtifactResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteArtifacts_, context, request, response); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifacts_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifacts_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifacts_, context, request, response, reactor); +} + +void DataCatalog::Stub::experimental_async::DeleteArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteArtifacts_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* DataCatalog::Stub::AsyncDeleteArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::DeleteArtifactResponse>::Create(channel_.get(), cq, rpcmethod_DeleteArtifacts_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* DataCatalog::Stub::PrepareAsyncDeleteArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::DeleteArtifactResponse>::Create(channel_.get(), cq, rpcmethod_DeleteArtifacts_, context, request, false); +} + ::grpc::Status DataCatalog::Stub::GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::datacatalog::GetOrExtendReservationResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetOrExtendReservation_, context, request, response); } @@ -302,6 +366,34 @@ ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetOrExtendReservationResponse>::Create(channel_.get(), cq, rpcmethod_GetOrExtendReservation_, context, request, false); } +::grpc::Status DataCatalog::Stub::GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::datacatalog::GetOrExtendReservationsResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetOrExtendReservations_, context, request, response); +} + +void DataCatalog::Stub::experimental_async::GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservations_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::GetOrExtendReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservations_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservations_, context, request, response, reactor); +} + +void DataCatalog::Stub::experimental_async::GetOrExtendReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetOrExtendReservations_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>* DataCatalog::Stub::AsyncGetOrExtendReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetOrExtendReservationsResponse>::Create(channel_.get(), cq, rpcmethod_GetOrExtendReservations_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>* DataCatalog::Stub::PrepareAsyncGetOrExtendReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::GetOrExtendReservationsResponse>::Create(channel_.get(), cq, rpcmethod_GetOrExtendReservations_, context, request, false); +} + ::grpc::Status DataCatalog::Stub::ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::datacatalog::ReleaseReservationResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ReleaseReservation_, context, request, response); } @@ -330,6 +422,34 @@ ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* D return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ReleaseReservationResponse>::Create(channel_.get(), cq, rpcmethod_ReleaseReservation_, context, request, false); } +::grpc::Status DataCatalog::Stub::ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::datacatalog::ReleaseReservationResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ReleaseReservations_, context, request, response); +} + +void DataCatalog::Stub::experimental_async::ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservations_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::ReleaseReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservations_, context, request, response, std::move(f)); +} + +void DataCatalog::Stub::experimental_async::ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservations_, context, request, response, reactor); +} + +void DataCatalog::Stub::experimental_async::ReleaseReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_ReleaseReservations_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* DataCatalog::Stub::AsyncReleaseReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ReleaseReservationResponse>::Create(channel_.get(), cq, rpcmethod_ReleaseReservations_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* DataCatalog::Stub::PrepareAsyncReleaseReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::datacatalog::ReleaseReservationResponse>::Create(channel_.get(), cq, rpcmethod_ReleaseReservations_, context, request, false); +} + DataCatalog::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( DataCatalog_method_names[0], @@ -374,13 +494,33 @@ DataCatalog::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( DataCatalog_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::DeleteArtifactRequest, ::datacatalog::DeleteArtifactResponse>( + std::mem_fn(&DataCatalog::Service::DeleteArtifact), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + DataCatalog_method_names[9], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::DeleteArtifactsRequest, ::datacatalog::DeleteArtifactResponse>( + std::mem_fn(&DataCatalog::Service::DeleteArtifacts), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + DataCatalog_method_names[10], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::GetOrExtendReservationRequest, ::datacatalog::GetOrExtendReservationResponse>( std::mem_fn(&DataCatalog::Service::GetOrExtendReservation), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - DataCatalog_method_names[9], + DataCatalog_method_names[11], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::GetOrExtendReservationsRequest, ::datacatalog::GetOrExtendReservationsResponse>( + std::mem_fn(&DataCatalog::Service::GetOrExtendReservations), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + DataCatalog_method_names[12], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>( std::mem_fn(&DataCatalog::Service::ReleaseReservation), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + DataCatalog_method_names[13], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< DataCatalog::Service, ::datacatalog::ReleaseReservationsRequest, ::datacatalog::ReleaseReservationResponse>( + std::mem_fn(&DataCatalog::Service::ReleaseReservations), this))); } DataCatalog::Service::~Service() { @@ -442,6 +582,20 @@ ::grpc::Status DataCatalog::Service::UpdateArtifact(::grpc::ServerContext* conte return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status DataCatalog::Service::DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status DataCatalog::Service::DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status DataCatalog::Service::GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response) { (void) context; (void) request; @@ -449,6 +603,13 @@ ::grpc::Status DataCatalog::Service::GetOrExtendReservation(::grpc::ServerContex return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status DataCatalog::Service::GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status DataCatalog::Service::ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response) { (void) context; (void) request; @@ -456,6 +617,13 @@ ::grpc::Status DataCatalog::Service::ReleaseReservation(::grpc::ServerContext* c return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status DataCatalog::Service::ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + } // namespace datacatalog diff --git a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.h b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.h index 358bfd9de..6a7c039a4 100644 --- a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.h +++ b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.grpc.pb.h @@ -117,6 +117,26 @@ class DataCatalog final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::UpdateArtifactResponse>> PrepareAsyncUpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::UpdateArtifactResponse>>(PrepareAsyncUpdateArtifactRaw(context, request, cq)); } + // Deletes an existing artifact, removing the stored artifact data from the underlying blob storage. + virtual ::grpc::Status DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::datacatalog::DeleteArtifactResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>> AsyncDeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>>(AsyncDeleteArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>> PrepareAsyncDeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>>(PrepareAsyncDeleteArtifactRaw(context, request, cq)); + } + // Deletes multiple existing artifacts, removing the stored artifact data from the underlying blob storage. + // This endpoint is idempotent, trying to delete an unknown artifact or deleting existing artifact multiple times + // will not result in an error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts deleted, however the operation can simply be retried to remove the remaining entries. + virtual ::grpc::Status DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::datacatalog::DeleteArtifactResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>> AsyncDeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>>(AsyncDeleteArtifactsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>> PrepareAsyncDeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>>(PrepareAsyncDeleteArtifactsRaw(context, request, cq)); + } // Attempts to get or extend a reservation for the corresponding artifact. If one already exists // (ie. another entity owns the reservation) then that reservation is retrieved. // Once you acquire a reservation, you need to periodically extend the reservation with an @@ -135,6 +155,17 @@ class DataCatalog final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationResponse>> PrepareAsyncGetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationResponse>>(PrepareAsyncGetOrExtendReservationRaw(context, request, cq)); } + // Attempts to get or extend reservations for multiple artifacts in a single operation. + // The first non-recoverable error encountered will be returned. Note that this might leave some artifacts in a + // reserved state if one acquisition fails - retry the operation or release all attempted artifacts (as the release + // endpoint is idempotent) to ensure no resources are locked accidentally in case of an error. + virtual ::grpc::Status GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::datacatalog::GetOrExtendReservationsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationsResponse>> AsyncGetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationsResponse>>(AsyncGetOrExtendReservationsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationsResponse>> PrepareAsyncGetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationsResponse>>(PrepareAsyncGetOrExtendReservationsRaw(context, request, cq)); + } // Release the reservation when the task holding the spot fails so that the other tasks // can grab the spot. virtual ::grpc::Status ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::datacatalog::ReleaseReservationResponse* response) = 0; @@ -144,6 +175,19 @@ class DataCatalog final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>> PrepareAsyncReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>>(PrepareAsyncReleaseReservationRaw(context, request, cq)); } + // Releases reservations for multiple artifacts in a single operation. + // This endpoint is idempotent, trying to release an unknown reservation or releasing existing reservations multiple + // times will not result in error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts in their previous reserved state, however the operation can simply be retried to remove the remaining + // reservations. + virtual ::grpc::Status ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::datacatalog::ReleaseReservationResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>> AsyncReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>>(AsyncReleaseReservationsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>> PrepareAsyncReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>>(PrepareAsyncReleaseReservationsRaw(context, request, cq)); + } class experimental_async_interface { public: virtual ~experimental_async_interface() {} @@ -189,6 +233,20 @@ class DataCatalog final { virtual void UpdateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::UpdateArtifactResponse* response, std::function) = 0; virtual void UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void UpdateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::UpdateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Deletes an existing artifact, removing the stored artifact data from the underlying blob storage. + virtual void DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response, std::function) = 0; + virtual void DeleteArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, std::function) = 0; + virtual void DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeleteArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Deletes multiple existing artifacts, removing the stored artifact data from the underlying blob storage. + // This endpoint is idempotent, trying to delete an unknown artifact or deleting existing artifact multiple times + // will not result in an error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts deleted, however the operation can simply be retried to remove the remaining entries. + virtual void DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response, std::function) = 0; + virtual void DeleteArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, std::function) = 0; + virtual void DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeleteArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; // Attempts to get or extend a reservation for the corresponding artifact. If one already exists // (ie. another entity owns the reservation) then that reservation is retrieved. // Once you acquire a reservation, you need to periodically extend the reservation with an @@ -204,12 +262,30 @@ class DataCatalog final { virtual void GetOrExtendReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationResponse* response, std::function) = 0; virtual void GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void GetOrExtendReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Attempts to get or extend reservations for multiple artifacts in a single operation. + // The first non-recoverable error encountered will be returned. Note that this might leave some artifacts in a + // reserved state if one acquisition fails - retry the operation or release all attempted artifacts (as the release + // endpoint is idempotent) to ensure no resources are locked accidentally in case of an error. + virtual void GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response, std::function) = 0; + virtual void GetOrExtendReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationsResponse* response, std::function) = 0; + virtual void GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetOrExtendReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; // Release the reservation when the task holding the spot fails so that the other tasks // can grab the spot. virtual void ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response, std::function) = 0; virtual void ReleaseReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, std::function) = 0; virtual void ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void ReleaseReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Releases reservations for multiple artifacts in a single operation. + // This endpoint is idempotent, trying to release an unknown reservation or releasing existing reservations multiple + // times will not result in error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts in their previous reserved state, however the operation can simply be retried to remove the remaining + // reservations. + virtual void ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response, std::function) = 0; + virtual void ReleaseReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, std::function) = 0; + virtual void ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void ReleaseReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; }; virtual class experimental_async_interface* experimental_async() { return nullptr; } private: @@ -229,10 +305,18 @@ class DataCatalog final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ListDatasetsResponse>* PrepareAsyncListDatasetsRaw(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::UpdateArtifactResponse>* AsyncUpdateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::UpdateArtifactResponse>* PrepareAsyncUpdateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>* AsyncDeleteArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>* PrepareAsyncDeleteArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>* AsyncDeleteArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::DeleteArtifactResponse>* PrepareAsyncDeleteArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationResponse>* AsyncGetOrExtendReservationRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationResponse>* PrepareAsyncGetOrExtendReservationRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationsResponse>* AsyncGetOrExtendReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::GetOrExtendReservationsResponse>* PrepareAsyncGetOrExtendReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>* AsyncReleaseReservationRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>* PrepareAsyncReleaseReservationRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>* AsyncReleaseReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::datacatalog::ReleaseReservationResponse>* PrepareAsyncReleaseReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) = 0; }; class Stub final : public StubInterface { public: @@ -293,6 +377,20 @@ class DataCatalog final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>> PrepareAsyncUpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>>(PrepareAsyncUpdateArtifactRaw(context, request, cq)); } + ::grpc::Status DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::datacatalog::DeleteArtifactResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>> AsyncDeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>>(AsyncDeleteArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>> PrepareAsyncDeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>>(PrepareAsyncDeleteArtifactRaw(context, request, cq)); + } + ::grpc::Status DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::datacatalog::DeleteArtifactResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>> AsyncDeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>>(AsyncDeleteArtifactsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>> PrepareAsyncDeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>>(PrepareAsyncDeleteArtifactsRaw(context, request, cq)); + } ::grpc::Status GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::datacatalog::GetOrExtendReservationResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>> AsyncGetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>>(AsyncGetOrExtendReservationRaw(context, request, cq)); @@ -300,6 +398,13 @@ class DataCatalog final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>> PrepareAsyncGetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>>(PrepareAsyncGetOrExtendReservationRaw(context, request, cq)); } + ::grpc::Status GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::datacatalog::GetOrExtendReservationsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>> AsyncGetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>>(AsyncGetOrExtendReservationsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>> PrepareAsyncGetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>>(PrepareAsyncGetOrExtendReservationsRaw(context, request, cq)); + } ::grpc::Status ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::datacatalog::ReleaseReservationResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>> AsyncReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>>(AsyncReleaseReservationRaw(context, request, cq)); @@ -307,6 +412,13 @@ class DataCatalog final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>> PrepareAsyncReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>>(PrepareAsyncReleaseReservationRaw(context, request, cq)); } + ::grpc::Status ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::datacatalog::ReleaseReservationResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>> AsyncReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>>(AsyncReleaseReservationsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>> PrepareAsyncReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>>(PrepareAsyncReleaseReservationsRaw(context, request, cq)); + } class experimental_async final : public StubInterface::experimental_async_interface { public: @@ -342,14 +454,30 @@ class DataCatalog final { void UpdateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::UpdateArtifactResponse* response, std::function) override; void UpdateArtifact(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void UpdateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::UpdateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response, std::function) override; + void DeleteArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, std::function) override; + void DeleteArtifact(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response, std::function) override; + void DeleteArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, std::function) override; + void DeleteArtifacts(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response, std::function) override; void GetOrExtendReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationResponse* response, std::function) override; void GetOrExtendReservation(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void GetOrExtendReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response, std::function) override; + void GetOrExtendReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationsResponse* response, std::function) override; + void GetOrExtendReservations(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetOrExtendReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::GetOrExtendReservationsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response, std::function) override; void ReleaseReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, std::function) override; void ReleaseReservation(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void ReleaseReservation(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response, std::function) override; + void ReleaseReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, std::function) override; + void ReleaseReservations(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void ReleaseReservations(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; private: friend class Stub; explicit experimental_async(Stub* stub): stub_(stub) { } @@ -377,10 +505,18 @@ class DataCatalog final { ::grpc::ClientAsyncResponseReader< ::datacatalog::ListDatasetsResponse>* PrepareAsyncListDatasetsRaw(::grpc::ClientContext* context, const ::datacatalog::ListDatasetsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>* AsyncUpdateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::datacatalog::UpdateArtifactResponse>* PrepareAsyncUpdateArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::UpdateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* AsyncDeleteArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* PrepareAsyncDeleteArtifactRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* AsyncDeleteArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::DeleteArtifactResponse>* PrepareAsyncDeleteArtifactsRaw(::grpc::ClientContext* context, const ::datacatalog::DeleteArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>* AsyncGetOrExtendReservationRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationResponse>* PrepareAsyncGetOrExtendReservationRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>* AsyncGetOrExtendReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::GetOrExtendReservationsResponse>* PrepareAsyncGetOrExtendReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::GetOrExtendReservationsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* AsyncReleaseReservationRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* PrepareAsyncReleaseReservationRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* AsyncReleaseReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::datacatalog::ReleaseReservationResponse>* PrepareAsyncReleaseReservationsRaw(::grpc::ClientContext* context, const ::datacatalog::ReleaseReservationsRequest& request, ::grpc::CompletionQueue* cq) override; const ::grpc::internal::RpcMethod rpcmethod_CreateDataset_; const ::grpc::internal::RpcMethod rpcmethod_GetDataset_; const ::grpc::internal::RpcMethod rpcmethod_CreateArtifact_; @@ -389,8 +525,12 @@ class DataCatalog final { const ::grpc::internal::RpcMethod rpcmethod_ListArtifacts_; const ::grpc::internal::RpcMethod rpcmethod_ListDatasets_; const ::grpc::internal::RpcMethod rpcmethod_UpdateArtifact_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteArtifact_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteArtifacts_; const ::grpc::internal::RpcMethod rpcmethod_GetOrExtendReservation_; + const ::grpc::internal::RpcMethod rpcmethod_GetOrExtendReservations_; const ::grpc::internal::RpcMethod rpcmethod_ReleaseReservation_; + const ::grpc::internal::RpcMethod rpcmethod_ReleaseReservations_; }; static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); @@ -416,6 +556,14 @@ class DataCatalog final { virtual ::grpc::Status ListDatasets(::grpc::ServerContext* context, const ::datacatalog::ListDatasetsRequest* request, ::datacatalog::ListDatasetsResponse* response); // Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage. virtual ::grpc::Status UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response); + // Deletes an existing artifact, removing the stored artifact data from the underlying blob storage. + virtual ::grpc::Status DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response); + // Deletes multiple existing artifacts, removing the stored artifact data from the underlying blob storage. + // This endpoint is idempotent, trying to delete an unknown artifact or deleting existing artifact multiple times + // will not result in an error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts deleted, however the operation can simply be retried to remove the remaining entries. + virtual ::grpc::Status DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response); // Attempts to get or extend a reservation for the corresponding artifact. If one already exists // (ie. another entity owns the reservation) then that reservation is retrieved. // Once you acquire a reservation, you need to periodically extend the reservation with an @@ -428,9 +576,21 @@ class DataCatalog final { // task B may take over the reservation, resulting in two tasks A and B running in parallel. So // a third task C may get the Artifact from A or B, whichever writes last. virtual ::grpc::Status GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response); + // Attempts to get or extend reservations for multiple artifacts in a single operation. + // The first non-recoverable error encountered will be returned. Note that this might leave some artifacts in a + // reserved state if one acquisition fails - retry the operation or release all attempted artifacts (as the release + // endpoint is idempotent) to ensure no resources are locked accidentally in case of an error. + virtual ::grpc::Status GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response); // Release the reservation when the task holding the spot fails so that the other tasks // can grab the spot. virtual ::grpc::Status ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response); + // Releases reservations for multiple artifacts in a single operation. + // This endpoint is idempotent, trying to release an unknown reservation or releasing existing reservations multiple + // times will not result in error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts in their previous reserved state, however the operation can simply be retried to remove the remaining + // reservations. + virtual ::grpc::Status ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response); }; template class WithAsyncMethod_CreateDataset : public BaseClass { @@ -593,12 +753,52 @@ class DataCatalog final { } }; template + class WithAsyncMethod_DeleteArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DeleteArtifact() { + ::grpc::Service::MarkMethodAsync(8); + } + ~WithAsyncMethod_DeleteArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteArtifact(::grpc::ServerContext* context, ::datacatalog::DeleteArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::DeleteArtifactResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_DeleteArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DeleteArtifacts() { + ::grpc::Service::MarkMethodAsync(9); + } + ~WithAsyncMethod_DeleteArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteArtifacts(::grpc::ServerContext* context, ::datacatalog::DeleteArtifactsRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::DeleteArtifactResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_GetOrExtendReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_GetOrExtendReservation() { - ::grpc::Service::MarkMethodAsync(8); + ::grpc::Service::MarkMethodAsync(10); } ~WithAsyncMethod_GetOrExtendReservation() override { BaseClassMustBeDerivedFromService(this); @@ -609,7 +809,27 @@ class DataCatalog final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetOrExtendReservation(::grpc::ServerContext* context, ::datacatalog::GetOrExtendReservationRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::GetOrExtendReservationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(8, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_GetOrExtendReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetOrExtendReservations() { + ::grpc::Service::MarkMethodAsync(11); + } + ~WithAsyncMethod_GetOrExtendReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetOrExtendReservations(::grpc::ServerContext* context, ::datacatalog::GetOrExtendReservationsRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::GetOrExtendReservationsResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(11, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -618,7 +838,7 @@ class DataCatalog final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_ReleaseReservation() { - ::grpc::Service::MarkMethodAsync(9); + ::grpc::Service::MarkMethodAsync(12); } ~WithAsyncMethod_ReleaseReservation() override { BaseClassMustBeDerivedFromService(this); @@ -629,10 +849,30 @@ class DataCatalog final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestReleaseReservation(::grpc::ServerContext* context, ::datacatalog::ReleaseReservationRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::ReleaseReservationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateDataset > > > > > > > > > AsyncService; + template + class WithAsyncMethod_ReleaseReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_ReleaseReservations() { + ::grpc::Service::MarkMethodAsync(13); + } + ~WithAsyncMethod_ReleaseReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestReleaseReservations(::grpc::ServerContext* context, ::datacatalog::ReleaseReservationsRequest* request, ::grpc::ServerAsyncResponseWriter< ::datacatalog::ReleaseReservationResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(13, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_CreateDataset > > > > > > > > > > > > > AsyncService; template class ExperimentalWithCallbackMethod_CreateDataset : public BaseClass { private: @@ -882,12 +1122,74 @@ class DataCatalog final { virtual void UpdateArtifact(::grpc::ServerContext* context, const ::datacatalog::UpdateArtifactRequest* request, ::datacatalog::UpdateArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithCallbackMethod_DeleteArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_DeleteArtifact() { + ::grpc::Service::experimental().MarkMethodCallback(8, + new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::DeleteArtifactRequest, ::datacatalog::DeleteArtifactResponse>( + [this](::grpc::ServerContext* context, + const ::datacatalog::DeleteArtifactRequest* request, + ::datacatalog::DeleteArtifactResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->DeleteArtifact(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_DeleteArtifact( + ::grpc::experimental::MessageAllocator< ::datacatalog::DeleteArtifactRequest, ::datacatalog::DeleteArtifactResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::DeleteArtifactRequest, ::datacatalog::DeleteArtifactResponse>*>( + ::grpc::Service::experimental().GetHandler(8)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_DeleteArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_DeleteArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_DeleteArtifacts() { + ::grpc::Service::experimental().MarkMethodCallback(9, + new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::DeleteArtifactsRequest, ::datacatalog::DeleteArtifactResponse>( + [this](::grpc::ServerContext* context, + const ::datacatalog::DeleteArtifactsRequest* request, + ::datacatalog::DeleteArtifactResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->DeleteArtifacts(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_DeleteArtifacts( + ::grpc::experimental::MessageAllocator< ::datacatalog::DeleteArtifactsRequest, ::datacatalog::DeleteArtifactResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::DeleteArtifactsRequest, ::datacatalog::DeleteArtifactResponse>*>( + ::grpc::Service::experimental().GetHandler(9)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_DeleteArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithCallbackMethod_GetOrExtendReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithCallbackMethod_GetOrExtendReservation() { - ::grpc::Service::experimental().MarkMethodCallback(8, + ::grpc::Service::experimental().MarkMethodCallback(10, new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetOrExtendReservationRequest, ::datacatalog::GetOrExtendReservationResponse>( [this](::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, @@ -899,7 +1201,7 @@ class DataCatalog final { void SetMessageAllocatorFor_GetOrExtendReservation( ::grpc::experimental::MessageAllocator< ::datacatalog::GetOrExtendReservationRequest, ::datacatalog::GetOrExtendReservationResponse>* allocator) { static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetOrExtendReservationRequest, ::datacatalog::GetOrExtendReservationResponse>*>( - ::grpc::Service::experimental().GetHandler(8)) + ::grpc::Service::experimental().GetHandler(10)) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_GetOrExtendReservation() override { @@ -913,12 +1215,43 @@ class DataCatalog final { virtual void GetOrExtendReservation(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationRequest* request, ::datacatalog::GetOrExtendReservationResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithCallbackMethod_GetOrExtendReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_GetOrExtendReservations() { + ::grpc::Service::experimental().MarkMethodCallback(11, + new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetOrExtendReservationsRequest, ::datacatalog::GetOrExtendReservationsResponse>( + [this](::grpc::ServerContext* context, + const ::datacatalog::GetOrExtendReservationsRequest* request, + ::datacatalog::GetOrExtendReservationsResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->GetOrExtendReservations(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_GetOrExtendReservations( + ::grpc::experimental::MessageAllocator< ::datacatalog::GetOrExtendReservationsRequest, ::datacatalog::GetOrExtendReservationsResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::GetOrExtendReservationsRequest, ::datacatalog::GetOrExtendReservationsResponse>*>( + ::grpc::Service::experimental().GetHandler(11)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetOrExtendReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithCallbackMethod_ReleaseReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithCallbackMethod_ReleaseReservation() { - ::grpc::Service::experimental().MarkMethodCallback(9, + ::grpc::Service::experimental().MarkMethodCallback(12, new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>( [this](::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, @@ -930,7 +1263,7 @@ class DataCatalog final { void SetMessageAllocatorFor_ReleaseReservation( ::grpc::experimental::MessageAllocator< ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>* allocator) { static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>*>( - ::grpc::Service::experimental().GetHandler(9)) + ::grpc::Service::experimental().GetHandler(12)) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_ReleaseReservation() override { @@ -943,7 +1276,38 @@ class DataCatalog final { } virtual void ReleaseReservation(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; - typedef ExperimentalWithCallbackMethod_CreateDataset > > > > > > > > > ExperimentalCallbackService; + template + class ExperimentalWithCallbackMethod_ReleaseReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_ReleaseReservations() { + ::grpc::Service::experimental().MarkMethodCallback(13, + new ::grpc::internal::CallbackUnaryHandler< ::datacatalog::ReleaseReservationsRequest, ::datacatalog::ReleaseReservationResponse>( + [this](::grpc::ServerContext* context, + const ::datacatalog::ReleaseReservationsRequest* request, + ::datacatalog::ReleaseReservationResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->ReleaseReservations(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_ReleaseReservations( + ::grpc::experimental::MessageAllocator< ::datacatalog::ReleaseReservationsRequest, ::datacatalog::ReleaseReservationResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::datacatalog::ReleaseReservationsRequest, ::datacatalog::ReleaseReservationResponse>*>( + ::grpc::Service::experimental().GetHandler(13)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_ReleaseReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + typedef ExperimentalWithCallbackMethod_CreateDataset > > > > > > > > > > > > > ExperimentalCallbackService; template class WithGenericMethod_CreateDataset : public BaseClass { private: @@ -1081,12 +1445,46 @@ class DataCatalog final { } }; template + class WithGenericMethod_DeleteArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DeleteArtifact() { + ::grpc::Service::MarkMethodGeneric(8); + } + ~WithGenericMethod_DeleteArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DeleteArtifacts() { + ::grpc::Service::MarkMethodGeneric(9); + } + ~WithGenericMethod_DeleteArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_GetOrExtendReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_GetOrExtendReservation() { - ::grpc::Service::MarkMethodGeneric(8); + ::grpc::Service::MarkMethodGeneric(10); } ~WithGenericMethod_GetOrExtendReservation() override { BaseClassMustBeDerivedFromService(this); @@ -1098,12 +1496,29 @@ class DataCatalog final { } }; template + class WithGenericMethod_GetOrExtendReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_GetOrExtendReservations() { + ::grpc::Service::MarkMethodGeneric(11); + } + ~WithGenericMethod_GetOrExtendReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_ReleaseReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_ReleaseReservation() { - ::grpc::Service::MarkMethodGeneric(9); + ::grpc::Service::MarkMethodGeneric(12); } ~WithGenericMethod_ReleaseReservation() override { BaseClassMustBeDerivedFromService(this); @@ -1115,6 +1530,23 @@ class DataCatalog final { } }; template + class WithGenericMethod_ReleaseReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_ReleaseReservations() { + ::grpc::Service::MarkMethodGeneric(13); + } + ~WithGenericMethod_ReleaseReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithRawMethod_CreateDataset : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -1275,12 +1707,52 @@ class DataCatalog final { } }; template + class WithRawMethod_DeleteArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DeleteArtifact() { + ::grpc::Service::MarkMethodRaw(8); + } + ~WithRawMethod_DeleteArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteArtifact(::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(8, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_DeleteArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DeleteArtifacts() { + ::grpc::Service::MarkMethodRaw(9); + } + ~WithRawMethod_DeleteArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteArtifacts(::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(9, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_GetOrExtendReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_GetOrExtendReservation() { - ::grpc::Service::MarkMethodRaw(8); + ::grpc::Service::MarkMethodRaw(10); } ~WithRawMethod_GetOrExtendReservation() override { BaseClassMustBeDerivedFromService(this); @@ -1291,7 +1763,27 @@ class DataCatalog final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetOrExtendReservation(::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(8, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(10, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_GetOrExtendReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_GetOrExtendReservations() { + ::grpc::Service::MarkMethodRaw(11); + } + ~WithRawMethod_GetOrExtendReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetOrExtendReservations(::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(11, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1300,7 +1792,7 @@ class DataCatalog final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_ReleaseReservation() { - ::grpc::Service::MarkMethodRaw(9); + ::grpc::Service::MarkMethodRaw(12); } ~WithRawMethod_ReleaseReservation() override { BaseClassMustBeDerivedFromService(this); @@ -1311,7 +1803,27 @@ class DataCatalog final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestReleaseReservation(::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(9, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(12, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_ReleaseReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_ReleaseReservations() { + ::grpc::Service::MarkMethodRaw(13); + } + ~WithRawMethod_ReleaseReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestReleaseReservations(::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(13, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1515,12 +2027,62 @@ class DataCatalog final { virtual void UpdateArtifact(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithRawCallbackMethod_DeleteArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_DeleteArtifact() { + ::grpc::Service::experimental().MarkMethodRawCallback(8, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->DeleteArtifact(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_DeleteArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteArtifact(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_DeleteArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_DeleteArtifacts() { + ::grpc::Service::experimental().MarkMethodRawCallback(9, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->DeleteArtifacts(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_DeleteArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteArtifacts(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithRawCallbackMethod_GetOrExtendReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithRawCallbackMethod_GetOrExtendReservation() { - ::grpc::Service::experimental().MarkMethodRawCallback(8, + ::grpc::Service::experimental().MarkMethodRawCallback(10, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this](::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, @@ -1540,12 +2102,37 @@ class DataCatalog final { virtual void GetOrExtendReservation(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithRawCallbackMethod_GetOrExtendReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_GetOrExtendReservations() { + ::grpc::Service::experimental().MarkMethodRawCallback(11, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->GetOrExtendReservations(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_GetOrExtendReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetOrExtendReservations(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithRawCallbackMethod_ReleaseReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithRawCallbackMethod_ReleaseReservation() { - ::grpc::Service::experimental().MarkMethodRawCallback(9, + ::grpc::Service::experimental().MarkMethodRawCallback(12, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this](::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, @@ -1565,6 +2152,31 @@ class DataCatalog final { virtual void ReleaseReservation(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithRawCallbackMethod_ReleaseReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_ReleaseReservations() { + ::grpc::Service::experimental().MarkMethodRawCallback(13, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->ReleaseReservations(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_ReleaseReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void ReleaseReservations(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class WithStreamedUnaryMethod_CreateDataset : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} @@ -1725,12 +2337,52 @@ class DataCatalog final { virtual ::grpc::Status StreamedUpdateArtifact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::UpdateArtifactRequest,::datacatalog::UpdateArtifactResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_DeleteArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DeleteArtifact() { + ::grpc::Service::MarkMethodStreamed(8, + new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::DeleteArtifactRequest, ::datacatalog::DeleteArtifactResponse>(std::bind(&WithStreamedUnaryMethod_DeleteArtifact::StreamedDeleteArtifact, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DeleteArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteArtifact(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteArtifact(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::DeleteArtifactRequest,::datacatalog::DeleteArtifactResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DeleteArtifacts() { + ::grpc::Service::MarkMethodStreamed(9, + new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::DeleteArtifactsRequest, ::datacatalog::DeleteArtifactResponse>(std::bind(&WithStreamedUnaryMethod_DeleteArtifacts::StreamedDeleteArtifacts, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DeleteArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteArtifacts(::grpc::ServerContext* context, const ::datacatalog::DeleteArtifactsRequest* request, ::datacatalog::DeleteArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteArtifacts(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::DeleteArtifactsRequest,::datacatalog::DeleteArtifactResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_GetOrExtendReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_GetOrExtendReservation() { - ::grpc::Service::MarkMethodStreamed(8, + ::grpc::Service::MarkMethodStreamed(10, new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::GetOrExtendReservationRequest, ::datacatalog::GetOrExtendReservationResponse>(std::bind(&WithStreamedUnaryMethod_GetOrExtendReservation::StreamedGetOrExtendReservation, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_GetOrExtendReservation() override { @@ -1745,12 +2397,32 @@ class DataCatalog final { virtual ::grpc::Status StreamedGetOrExtendReservation(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::GetOrExtendReservationRequest,::datacatalog::GetOrExtendReservationResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_GetOrExtendReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetOrExtendReservations() { + ::grpc::Service::MarkMethodStreamed(11, + new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::GetOrExtendReservationsRequest, ::datacatalog::GetOrExtendReservationsResponse>(std::bind(&WithStreamedUnaryMethod_GetOrExtendReservations::StreamedGetOrExtendReservations, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_GetOrExtendReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status GetOrExtendReservations(::grpc::ServerContext* context, const ::datacatalog::GetOrExtendReservationsRequest* request, ::datacatalog::GetOrExtendReservationsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedGetOrExtendReservations(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::GetOrExtendReservationsRequest,::datacatalog::GetOrExtendReservationsResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_ReleaseReservation : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_ReleaseReservation() { - ::grpc::Service::MarkMethodStreamed(9, + ::grpc::Service::MarkMethodStreamed(12, new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::ReleaseReservationRequest, ::datacatalog::ReleaseReservationResponse>(std::bind(&WithStreamedUnaryMethod_ReleaseReservation::StreamedReleaseReservation, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_ReleaseReservation() override { @@ -1764,9 +2436,29 @@ class DataCatalog final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedReleaseReservation(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::ReleaseReservationRequest,::datacatalog::ReleaseReservationResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateDataset > > > > > > > > > StreamedUnaryService; + template + class WithStreamedUnaryMethod_ReleaseReservations : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_ReleaseReservations() { + ::grpc::Service::MarkMethodStreamed(13, + new ::grpc::internal::StreamedUnaryHandler< ::datacatalog::ReleaseReservationsRequest, ::datacatalog::ReleaseReservationResponse>(std::bind(&WithStreamedUnaryMethod_ReleaseReservations::StreamedReleaseReservations, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_ReleaseReservations() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status ReleaseReservations(::grpc::ServerContext* context, const ::datacatalog::ReleaseReservationsRequest* request, ::datacatalog::ReleaseReservationResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedReleaseReservations(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::datacatalog::ReleaseReservationsRequest,::datacatalog::ReleaseReservationResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_CreateDataset > > > > > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateDataset > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateDataset > > > > > > > > > > > > > StreamedService; }; } // namespace datacatalog diff --git a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc index a13396958..d03ea9fdf 100644 --- a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc +++ b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc @@ -26,12 +26,15 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::g extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Partition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_TagPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ArtifactData_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_FilterExpression_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_PartitionPropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Tag_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_GetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<4> scc_info_SinglePropertyFilter_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fdatacatalog_2fdatacatalog_2eproto ::google::protobuf::internal::SCCInfo<6> scc_info_Artifact_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; @@ -106,6 +109,20 @@ class UpdateArtifactResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _UpdateArtifactResponse_default_instance_; +class DeleteArtifactRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + ::google::protobuf::internal::ArenaStringPtr artifact_id_; + ::google::protobuf::internal::ArenaStringPtr tag_name_; +} _DeleteArtifactRequest_default_instance_; +class DeleteArtifactsRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeleteArtifactsRequest_default_instance_; +class DeleteArtifactResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeleteArtifactResponse_default_instance_; class ReservationIDDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -114,6 +131,10 @@ class GetOrExtendReservationRequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _GetOrExtendReservationRequest_default_instance_; +class GetOrExtendReservationsRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GetOrExtendReservationsRequest_default_instance_; class ReservationDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -122,10 +143,18 @@ class GetOrExtendReservationResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _GetOrExtendReservationResponse_default_instance_; +class GetOrExtendReservationsResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GetOrExtendReservationsResponse_default_instance_; class ReleaseReservationRequestDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _ReleaseReservationRequest_default_instance_; +class ReleaseReservationsRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ReleaseReservationsRequest_default_instance_; class ReleaseReservationResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -446,6 +475,50 @@ static void InitDefaultsUpdateArtifactResponse_flyteidl_2fdatacatalog_2fdatacata ::google::protobuf::internal::SCCInfo<0> scc_info_UpdateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUpdateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; +static void InitDefaultsDeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::datacatalog::_DeleteArtifactRequest_default_instance_; + new (ptr) ::datacatalog::DeleteArtifactRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::datacatalog::DeleteArtifactRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { + &scc_info_DatasetID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; + +static void InitDefaultsDeleteArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::datacatalog::_DeleteArtifactsRequest_default_instance_; + new (ptr) ::datacatalog::DeleteArtifactsRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::datacatalog::DeleteArtifactsRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DeleteArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeleteArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { + &scc_info_DeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; + +static void InitDefaultsDeleteArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::datacatalog::_DeleteArtifactResponse_default_instance_; + new (ptr) ::datacatalog::DeleteArtifactResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::datacatalog::DeleteArtifactResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_DeleteArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, {}}; + static void InitDefaultsReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -477,6 +550,21 @@ ::google::protobuf::internal::SCCInfo<2> scc_info_GetOrExtendReservationRequest_ &scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base, &scc_info_Duration_google_2fprotobuf_2fduration_2eproto.base,}}; +static void InitDefaultsGetOrExtendReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::datacatalog::_GetOrExtendReservationsRequest_default_instance_; + new (ptr) ::datacatalog::GetOrExtendReservationsRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::datacatalog::GetOrExtendReservationsRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_GetOrExtendReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetOrExtendReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { + &scc_info_GetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; + static void InitDefaultsReservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -510,6 +598,21 @@ ::google::protobuf::internal::SCCInfo<1> scc_info_GetOrExtendReservationResponse {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetOrExtendReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { &scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; +static void InitDefaultsGetOrExtendReservationsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::datacatalog::_GetOrExtendReservationsResponse_default_instance_; + new (ptr) ::datacatalog::GetOrExtendReservationsResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::datacatalog::GetOrExtendReservationsResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_GetOrExtendReservationsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetOrExtendReservationsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { + &scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; + static void InitDefaultsReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -525,6 +628,21 @@ ::google::protobuf::internal::SCCInfo<1> scc_info_ReleaseReservationRequest_flyt {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { &scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; +static void InitDefaultsReleaseReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::datacatalog::_ReleaseReservationsRequest_default_instance_; + new (ptr) ::datacatalog::ReleaseReservationsRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::datacatalog::ReleaseReservationsRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ReleaseReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsReleaseReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto}, { + &scc_info_ReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base,}}; + static void InitDefaultsReleaseReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -796,11 +914,17 @@ void InitDefaults_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_ListDatasetsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_UpdateArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_UpdateArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeleteArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeleteArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_GetOrExtendReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetOrExtendReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_Reservation_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_GetOrExtendReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetOrExtendReservationsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ReleaseReservationRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ReleaseReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ReleaseReservationResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_Dataset_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_Partition_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); @@ -820,7 +944,7 @@ void InitDefaults_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_PaginationOptions_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[38]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[44]; const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[3]; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = nullptr; @@ -931,6 +1055,26 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fdatacatalog_2fdatacatalo ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::datacatalog::UpdateArtifactResponse, artifact_id_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::datacatalog::DeleteArtifactRequest, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::datacatalog::DeleteArtifactRequest, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::datacatalog::DeleteArtifactRequest, dataset_), + offsetof(::datacatalog::DeleteArtifactRequestDefaultTypeInternal, artifact_id_), + offsetof(::datacatalog::DeleteArtifactRequestDefaultTypeInternal, tag_name_), + PROTOBUF_FIELD_OFFSET(::datacatalog::DeleteArtifactRequest, query_handle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::datacatalog::DeleteArtifactsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::datacatalog::DeleteArtifactsRequest, artifacts_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::datacatalog::DeleteArtifactResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::datacatalog::ReservationID, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -946,6 +1090,12 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fdatacatalog_2fdatacatalo PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationRequest, owner_id_), PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationRequest, heartbeat_interval_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationsRequest, reservations_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::datacatalog::Reservation, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -962,6 +1112,12 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fdatacatalog_2fdatacatalo ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationResponse, reservation_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::datacatalog::GetOrExtendReservationsResponse, reservations_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -969,6 +1125,12 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fdatacatalog_2fdatacatalo PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationRequest, reservation_id_), PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationRequest, owner_id_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationsRequest, reservations_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::datacatalog::ReleaseReservationResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1122,28 +1284,34 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 82, -1, sizeof(::datacatalog::ListDatasetsResponse)}, { 89, -1, sizeof(::datacatalog::UpdateArtifactRequest)}, { 99, -1, sizeof(::datacatalog::UpdateArtifactResponse)}, - { 105, -1, sizeof(::datacatalog::ReservationID)}, - { 112, -1, sizeof(::datacatalog::GetOrExtendReservationRequest)}, - { 120, -1, sizeof(::datacatalog::Reservation)}, - { 130, -1, sizeof(::datacatalog::GetOrExtendReservationResponse)}, - { 136, -1, sizeof(::datacatalog::ReleaseReservationRequest)}, - { 143, -1, sizeof(::datacatalog::ReleaseReservationResponse)}, - { 148, -1, sizeof(::datacatalog::Dataset)}, - { 156, -1, sizeof(::datacatalog::Partition)}, - { 163, -1, sizeof(::datacatalog::DatasetID)}, - { 173, -1, sizeof(::datacatalog::Artifact)}, - { 185, -1, sizeof(::datacatalog::ArtifactData)}, - { 192, -1, sizeof(::datacatalog::Tag)}, - { 200, 207, sizeof(::datacatalog::Metadata_KeyMapEntry_DoNotUse)}, - { 209, -1, sizeof(::datacatalog::Metadata)}, - { 215, -1, sizeof(::datacatalog::FilterExpression)}, - { 221, -1, sizeof(::datacatalog::SinglePropertyFilter)}, - { 232, -1, sizeof(::datacatalog::ArtifactPropertyFilter)}, - { 239, -1, sizeof(::datacatalog::TagPropertyFilter)}, - { 246, -1, sizeof(::datacatalog::PartitionPropertyFilter)}, - { 253, -1, sizeof(::datacatalog::KeyValuePair)}, - { 260, -1, sizeof(::datacatalog::DatasetPropertyFilter)}, - { 270, -1, sizeof(::datacatalog::PaginationOptions)}, + { 105, -1, sizeof(::datacatalog::DeleteArtifactRequest)}, + { 114, -1, sizeof(::datacatalog::DeleteArtifactsRequest)}, + { 120, -1, sizeof(::datacatalog::DeleteArtifactResponse)}, + { 125, -1, sizeof(::datacatalog::ReservationID)}, + { 132, -1, sizeof(::datacatalog::GetOrExtendReservationRequest)}, + { 140, -1, sizeof(::datacatalog::GetOrExtendReservationsRequest)}, + { 146, -1, sizeof(::datacatalog::Reservation)}, + { 156, -1, sizeof(::datacatalog::GetOrExtendReservationResponse)}, + { 162, -1, sizeof(::datacatalog::GetOrExtendReservationsResponse)}, + { 168, -1, sizeof(::datacatalog::ReleaseReservationRequest)}, + { 175, -1, sizeof(::datacatalog::ReleaseReservationsRequest)}, + { 181, -1, sizeof(::datacatalog::ReleaseReservationResponse)}, + { 186, -1, sizeof(::datacatalog::Dataset)}, + { 194, -1, sizeof(::datacatalog::Partition)}, + { 201, -1, sizeof(::datacatalog::DatasetID)}, + { 211, -1, sizeof(::datacatalog::Artifact)}, + { 223, -1, sizeof(::datacatalog::ArtifactData)}, + { 230, -1, sizeof(::datacatalog::Tag)}, + { 238, 245, sizeof(::datacatalog::Metadata_KeyMapEntry_DoNotUse)}, + { 247, -1, sizeof(::datacatalog::Metadata)}, + { 253, -1, sizeof(::datacatalog::FilterExpression)}, + { 259, -1, sizeof(::datacatalog::SinglePropertyFilter)}, + { 270, -1, sizeof(::datacatalog::ArtifactPropertyFilter)}, + { 277, -1, sizeof(::datacatalog::TagPropertyFilter)}, + { 284, -1, sizeof(::datacatalog::PartitionPropertyFilter)}, + { 291, -1, sizeof(::datacatalog::KeyValuePair)}, + { 298, -1, sizeof(::datacatalog::DatasetPropertyFilter)}, + { 308, -1, sizeof(::datacatalog::PaginationOptions)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -1163,11 +1331,17 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::datacatalog::_ListDatasetsResponse_default_instance_), reinterpret_cast(&::datacatalog::_UpdateArtifactRequest_default_instance_), reinterpret_cast(&::datacatalog::_UpdateArtifactResponse_default_instance_), + reinterpret_cast(&::datacatalog::_DeleteArtifactRequest_default_instance_), + reinterpret_cast(&::datacatalog::_DeleteArtifactsRequest_default_instance_), + reinterpret_cast(&::datacatalog::_DeleteArtifactResponse_default_instance_), reinterpret_cast(&::datacatalog::_ReservationID_default_instance_), reinterpret_cast(&::datacatalog::_GetOrExtendReservationRequest_default_instance_), + reinterpret_cast(&::datacatalog::_GetOrExtendReservationsRequest_default_instance_), reinterpret_cast(&::datacatalog::_Reservation_default_instance_), reinterpret_cast(&::datacatalog::_GetOrExtendReservationResponse_default_instance_), + reinterpret_cast(&::datacatalog::_GetOrExtendReservationsResponse_default_instance_), reinterpret_cast(&::datacatalog::_ReleaseReservationRequest_default_instance_), + reinterpret_cast(&::datacatalog::_ReleaseReservationsRequest_default_instance_), reinterpret_cast(&::datacatalog::_ReleaseReservationResponse_default_instance_), reinterpret_cast(&::datacatalog::_Dataset_default_instance_), reinterpret_cast(&::datacatalog::_Partition_default_instance_), @@ -1190,7 +1364,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = { {}, AddDescriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, "flyteidl/datacatalog/datacatalog.proto", schemas, file_default_instances, TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto::offsets, - file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, 38, file_level_enum_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, file_level_service_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, + file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, 44, file_level_enum_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, file_level_service_descriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, }; const char descriptor_table_protodef_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[] = @@ -1228,99 +1402,122 @@ const char descriptor_table_protodef_flyteidl_2fdatacatalog_2fdatacatalog_2eprot "_id\030\002 \001(\tH\000\022\022\n\010tag_name\030\003 \001(\tH\000\022\'\n\004data\030" "\004 \003(\0132\031.datacatalog.ArtifactDataB\016\n\014quer" "y_handle\"-\n\026UpdateArtifactResponse\022\023\n\013ar" - "tifact_id\030\001 \001(\t\"M\n\rReservationID\022*\n\ndata" - "set_id\030\001 \001(\0132\026.datacatalog.DatasetID\022\020\n\010" - "tag_name\030\002 \001(\t\"\234\001\n\035GetOrExtendReservatio" + "tifact_id\030\001 \001(\t\"{\n\025DeleteArtifactRequest" + "\022\'\n\007dataset\030\001 \001(\0132\026.datacatalog.DatasetI" + "D\022\025\n\013artifact_id\030\002 \001(\tH\000\022\022\n\010tag_name\030\003 \001" + "(\tH\000B\016\n\014query_handle\"O\n\026DeleteArtifactsR" + "equest\0225\n\tartifacts\030\001 \003(\0132\".datacatalog." + "DeleteArtifactRequest\"\030\n\026DeleteArtifactR" + "esponse\"M\n\rReservationID\022*\n\ndataset_id\030\001" + " \001(\0132\026.datacatalog.DatasetID\022\020\n\010tag_name" + "\030\002 \001(\t\"\234\001\n\035GetOrExtendReservationRequest" + "\0222\n\016reservation_id\030\001 \001(\0132\032.datacatalog.R" + "eservationID\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heartb" + "eat_interval\030\003 \001(\0132\031.google.protobuf.Dur" + "ation\"b\n\036GetOrExtendReservationsRequest\022" + "@\n\014reservations\030\001 \003(\0132*.datacatalog.GetO" + "rExtendReservationRequest\"\343\001\n\013Reservatio" + "n\0222\n\016reservation_id\030\001 \001(\0132\032.datacatalog." + "ReservationID\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heart" + "beat_interval\030\003 \001(\0132\031.google.protobuf.Du" + "ration\022.\n\nexpires_at\030\004 \001(\0132\032.google.prot" + "obuf.Timestamp\022\'\n\010metadata\030\006 \001(\0132\025.datac" + "atalog.Metadata\"O\n\036GetOrExtendReservatio" + "nResponse\022-\n\013reservation\030\001 \001(\0132\030.datacat" + "alog.Reservation\"Q\n\037GetOrExtendReservati" + "onsResponse\022.\n\014reservations\030\001 \003(\0132\030.data" + "catalog.Reservation\"a\n\031ReleaseReservatio" "nRequest\0222\n\016reservation_id\030\001 \001(\0132\032.datac" - "atalog.ReservationID\022\020\n\010owner_id\030\002 \001(\t\0225" - "\n\022heartbeat_interval\030\003 \001(\0132\031.google.prot" - "obuf.Duration\"\343\001\n\013Reservation\0222\n\016reserva" - "tion_id\030\001 \001(\0132\032.datacatalog.ReservationI" - "D\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heartbeat_interva" - "l\030\003 \001(\0132\031.google.protobuf.Duration\022.\n\nex" - "pires_at\030\004 \001(\0132\032.google.protobuf.Timesta" - "mp\022\'\n\010metadata\030\006 \001(\0132\025.datacatalog.Metad" - "ata\"O\n\036GetOrExtendReservationResponse\022-\n" - "\013reservation\030\001 \001(\0132\030.datacatalog.Reserva" - "tion\"a\n\031ReleaseReservationRequest\0222\n\016res" - "ervation_id\030\001 \001(\0132\032.datacatalog.Reservat" - "ionID\022\020\n\010owner_id\030\002 \001(\t\"\034\n\032ReleaseReserv" - "ationResponse\"m\n\007Dataset\022\"\n\002id\030\001 \001(\0132\026.d" - "atacatalog.DatasetID\022\'\n\010metadata\030\002 \001(\0132\025" - ".datacatalog.Metadata\022\025\n\rpartitionKeys\030\003" - " \003(\t\"\'\n\tPartition\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - "\002 \001(\t\"Y\n\tDatasetID\022\017\n\007project\030\001 \001(\t\022\014\n\004n" - "ame\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\017\n\007version\030\004 \001" - "(\t\022\014\n\004UUID\030\005 \001(\t\"\215\002\n\010Artifact\022\n\n\002id\030\001 \001(" - "\t\022\'\n\007dataset\030\002 \001(\0132\026.datacatalog.Dataset" - "ID\022\'\n\004data\030\003 \003(\0132\031.datacatalog.ArtifactD" - "ata\022\'\n\010metadata\030\004 \001(\0132\025.datacatalog.Meta" - "data\022*\n\npartitions\030\005 \003(\0132\026.datacatalog.P" - "artition\022\036\n\004tags\030\006 \003(\0132\020.datacatalog.Tag" - "\022.\n\ncreated_at\030\007 \001(\0132\032.google.protobuf.T" - "imestamp\"C\n\014ArtifactData\022\014\n\004name\030\001 \001(\t\022%" - "\n\005value\030\002 \001(\0132\026.flyteidl.core.Literal\"Q\n" - "\003Tag\022\014\n\004name\030\001 \001(\t\022\023\n\013artifact_id\030\002 \001(\t\022" - "\'\n\007dataset\030\003 \001(\0132\026.datacatalog.DatasetID" - "\"m\n\010Metadata\0222\n\007key_map\030\001 \003(\0132!.datacata" - "log.Metadata.KeyMapEntry\032-\n\013KeyMapEntry\022" - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\020Filte" - "rExpression\0222\n\007filters\030\001 \003(\0132!.datacatal" - "og.SinglePropertyFilter\"\211\003\n\024SingleProper" - "tyFilter\0224\n\ntag_filter\030\001 \001(\0132\036.datacatal" - "og.TagPropertyFilterH\000\022@\n\020partition_filt" - "er\030\002 \001(\0132$.datacatalog.PartitionProperty" - "FilterH\000\022>\n\017artifact_filter\030\003 \001(\0132#.data" - "catalog.ArtifactPropertyFilterH\000\022<\n\016data" - "set_filter\030\004 \001(\0132\".datacatalog.DatasetPr" - "opertyFilterH\000\022F\n\010operator\030\n \001(\01624.datac" - "atalog.SinglePropertyFilter.ComparisonOp" - "erator\" \n\022ComparisonOperator\022\n\n\006EQUALS\020\000" - "B\021\n\017property_filter\";\n\026ArtifactPropertyF" - "ilter\022\025\n\013artifact_id\030\001 \001(\tH\000B\n\n\010property" - "\"3\n\021TagPropertyFilter\022\022\n\010tag_name\030\001 \001(\tH" - "\000B\n\n\010property\"S\n\027PartitionPropertyFilter" - "\022,\n\007key_val\030\001 \001(\0132\031.datacatalog.KeyValue" - "PairH\000B\n\n\010property\"*\n\014KeyValuePair\022\013\n\003ke" - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"k\n\025DatasetPropert" - "yFilter\022\021\n\007project\030\001 \001(\tH\000\022\016\n\004name\030\002 \001(\t" - "H\000\022\020\n\006domain\030\003 \001(\tH\000\022\021\n\007version\030\004 \001(\tH\000B" - "\n\n\010property\"\361\001\n\021PaginationOptions\022\r\n\005lim" - "it\030\001 \001(\r\022\r\n\005token\030\002 \001(\t\0227\n\007sortKey\030\003 \001(\016" - "2&.datacatalog.PaginationOptions.SortKey" - "\022;\n\tsortOrder\030\004 \001(\0162(.datacatalog.Pagina" - "tionOptions.SortOrder\"*\n\tSortOrder\022\016\n\nDE" - "SCENDING\020\000\022\r\n\tASCENDING\020\001\"\034\n\007SortKey\022\021\n\r" - "CREATION_TIME\020\0002\206\007\n\013DataCatalog\022V\n\rCreat" - "eDataset\022!.datacatalog.CreateDatasetRequ" - "est\032\".datacatalog.CreateDatasetResponse\022" - "M\n\nGetDataset\022\036.datacatalog.GetDatasetRe" - "quest\032\037.datacatalog.GetDatasetResponse\022Y" - "\n\016CreateArtifact\022\".datacatalog.CreateArt" - "ifactRequest\032#.datacatalog.CreateArtifac" - "tResponse\022P\n\013GetArtifact\022\037.datacatalog.G" - "etArtifactRequest\032 .datacatalog.GetArtif" - "actResponse\022A\n\006AddTag\022\032.datacatalog.AddT" - "agRequest\032\033.datacatalog.AddTagResponse\022V" - "\n\rListArtifacts\022!.datacatalog.ListArtifa" - "ctsRequest\032\".datacatalog.ListArtifactsRe" - "sponse\022S\n\014ListDatasets\022 .datacatalog.Lis" - "tDatasetsRequest\032!.datacatalog.ListDatas" - "etsResponse\022Y\n\016UpdateArtifact\022\".datacata" - "log.UpdateArtifactRequest\032#.datacatalog." - "UpdateArtifactResponse\022q\n\026GetOrExtendRes" - "ervation\022*.datacatalog.GetOrExtendReserv" - "ationRequest\032+.datacatalog.GetOrExtendRe" - "servationResponse\022e\n\022ReleaseReservation\022" - "&.datacatalog.ReleaseReservationRequest\032" - "\'.datacatalog.ReleaseReservationResponse" - "B=Z;github.com/flyteorg/flyteidl/gen/pb-" - "go/flyteidl/datacatalogb\006proto3" + "atalog.ReservationID\022\020\n\010owner_id\030\002 \001(\t\"Z" + "\n\032ReleaseReservationsRequest\022<\n\014reservat" + "ions\030\001 \003(\0132&.datacatalog.ReleaseReservat" + "ionRequest\"\034\n\032ReleaseReservationResponse" + "\"m\n\007Dataset\022\"\n\002id\030\001 \001(\0132\026.datacatalog.Da" + "tasetID\022\'\n\010metadata\030\002 \001(\0132\025.datacatalog." + "Metadata\022\025\n\rpartitionKeys\030\003 \003(\t\"\'\n\tParti" + "tion\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"Y\n\tData" + "setID\022\017\n\007project\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\016\n\006" + "domain\030\003 \001(\t\022\017\n\007version\030\004 \001(\t\022\014\n\004UUID\030\005 " + "\001(\t\"\215\002\n\010Artifact\022\n\n\002id\030\001 \001(\t\022\'\n\007dataset\030" + "\002 \001(\0132\026.datacatalog.DatasetID\022\'\n\004data\030\003 " + "\003(\0132\031.datacatalog.ArtifactData\022\'\n\010metada" + "ta\030\004 \001(\0132\025.datacatalog.Metadata\022*\n\nparti" + "tions\030\005 \003(\0132\026.datacatalog.Partition\022\036\n\004t" + "ags\030\006 \003(\0132\020.datacatalog.Tag\022.\n\ncreated_a" + "t\030\007 \001(\0132\032.google.protobuf.Timestamp\"C\n\014A" + "rtifactData\022\014\n\004name\030\001 \001(\t\022%\n\005value\030\002 \001(\013" + "2\026.flyteidl.core.Literal\"Q\n\003Tag\022\014\n\004name\030" + "\001 \001(\t\022\023\n\013artifact_id\030\002 \001(\t\022\'\n\007dataset\030\003 " + "\001(\0132\026.datacatalog.DatasetID\"m\n\010Metadata\022" + "2\n\007key_map\030\001 \003(\0132!.datacatalog.Metadata." + "KeyMapEntry\032-\n\013KeyMapEntry\022\013\n\003key\030\001 \001(\t\022" + "\r\n\005value\030\002 \001(\t:\0028\001\"F\n\020FilterExpression\0222" + "\n\007filters\030\001 \003(\0132!.datacatalog.SingleProp" + "ertyFilter\"\211\003\n\024SinglePropertyFilter\0224\n\nt" + "ag_filter\030\001 \001(\0132\036.datacatalog.TagPropert" + "yFilterH\000\022@\n\020partition_filter\030\002 \001(\0132$.da" + "tacatalog.PartitionPropertyFilterH\000\022>\n\017a" + "rtifact_filter\030\003 \001(\0132#.datacatalog.Artif" + "actPropertyFilterH\000\022<\n\016dataset_filter\030\004 " + "\001(\0132\".datacatalog.DatasetPropertyFilterH" + "\000\022F\n\010operator\030\n \001(\01624.datacatalog.Single" + "PropertyFilter.ComparisonOperator\" \n\022Com" + "parisonOperator\022\n\n\006EQUALS\020\000B\021\n\017property_" + "filter\";\n\026ArtifactPropertyFilter\022\025\n\013arti" + "fact_id\030\001 \001(\tH\000B\n\n\010property\"3\n\021TagProper" + "tyFilter\022\022\n\010tag_name\030\001 \001(\tH\000B\n\n\010property" + "\"S\n\027PartitionPropertyFilter\022,\n\007key_val\030\001" + " \001(\0132\031.datacatalog.KeyValuePairH\000B\n\n\010pro" + "perty\"*\n\014KeyValuePair\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t\"k\n\025DatasetPropertyFilter\022\021\n\007pr" + "oject\030\001 \001(\tH\000\022\016\n\004name\030\002 \001(\tH\000\022\020\n\006domain\030" + "\003 \001(\tH\000\022\021\n\007version\030\004 \001(\tH\000B\n\n\010property\"\361" + "\001\n\021PaginationOptions\022\r\n\005limit\030\001 \001(\r\022\r\n\005t" + "oken\030\002 \001(\t\0227\n\007sortKey\030\003 \001(\0162&.datacatalo" + "g.PaginationOptions.SortKey\022;\n\tsortOrder" + "\030\004 \001(\0162(.datacatalog.PaginationOptions.S" + "ortOrder\"*\n\tSortOrder\022\016\n\nDESCENDING\020\000\022\r\n" + "\tASCENDING\020\001\"\034\n\007SortKey\022\021\n\rCREATION_TIME" + "\020\0002\235\n\n\013DataCatalog\022V\n\rCreateDataset\022!.da" + "tacatalog.CreateDatasetRequest\032\".datacat" + "alog.CreateDatasetResponse\022M\n\nGetDataset" + "\022\036.datacatalog.GetDatasetRequest\032\037.datac" + "atalog.GetDatasetResponse\022Y\n\016CreateArtif" + "act\022\".datacatalog.CreateArtifactRequest\032" + "#.datacatalog.CreateArtifactResponse\022P\n\013" + "GetArtifact\022\037.datacatalog.GetArtifactReq" + "uest\032 .datacatalog.GetArtifactResponse\022A" + "\n\006AddTag\022\032.datacatalog.AddTagRequest\032\033.d" + "atacatalog.AddTagResponse\022V\n\rListArtifac" + "ts\022!.datacatalog.ListArtifactsRequest\032\"." + "datacatalog.ListArtifactsResponse\022S\n\014Lis" + "tDatasets\022 .datacatalog.ListDatasetsRequ" + "est\032!.datacatalog.ListDatasetsResponse\022Y" + "\n\016UpdateArtifact\022\".datacatalog.UpdateArt" + "ifactRequest\032#.datacatalog.UpdateArtifac" + "tResponse\022Y\n\016DeleteArtifact\022\".datacatalo" + "g.DeleteArtifactRequest\032#.datacatalog.De" + "leteArtifactResponse\022[\n\017DeleteArtifacts\022" + "#.datacatalog.DeleteArtifactsRequest\032#.d" + "atacatalog.DeleteArtifactResponse\022q\n\026Get" + "OrExtendReservation\022*.datacatalog.GetOrE" + "xtendReservationRequest\032+.datacatalog.Ge" + "tOrExtendReservationResponse\022t\n\027GetOrExt" + "endReservations\022+.datacatalog.GetOrExten" + "dReservationsRequest\032,.datacatalog.GetOr" + "ExtendReservationsResponse\022e\n\022ReleaseRes" + "ervation\022&.datacatalog.ReleaseReservatio" + "nRequest\032\'.datacatalog.ReleaseReservatio" + "nResponse\022g\n\023ReleaseReservations\022\'.datac" + "atalog.ReleaseReservationsRequest\032\'.data" + "catalog.ReleaseReservationResponseB=Z;gi" + "thub.com/flyteorg/flyteidl/gen/pb-go/fly" + "teidl/datacatalogb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto = { false, InitDefaults_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, descriptor_table_protodef_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, - "flyteidl/datacatalog/datacatalog.proto", &assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, 4871, + "flyteidl/datacatalog/datacatalog.proto", &assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto, 5785, }; void AddDescriptors_flyteidl_2fdatacatalog_2fdatacatalog_2eproto() { @@ -6540,89 +6737,125 @@ ::google::protobuf::Metadata UpdateArtifactResponse::GetMetadata() const { // =================================================================== -void ReservationID::InitAsDefaultInstance() { - ::datacatalog::_ReservationID_default_instance_._instance.get_mutable()->dataset_id_ = const_cast< ::datacatalog::DatasetID*>( +void DeleteArtifactRequest::InitAsDefaultInstance() { + ::datacatalog::_DeleteArtifactRequest_default_instance_._instance.get_mutable()->dataset_ = const_cast< ::datacatalog::DatasetID*>( ::datacatalog::DatasetID::internal_default_instance()); + ::datacatalog::_DeleteArtifactRequest_default_instance_.artifact_id_.UnsafeSetDefault( + &::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::datacatalog::_DeleteArtifactRequest_default_instance_.tag_name_.UnsafeSetDefault( + &::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -class ReservationID::HasBitSetters { +class DeleteArtifactRequest::HasBitSetters { public: - static const ::datacatalog::DatasetID& dataset_id(const ReservationID* msg); + static const ::datacatalog::DatasetID& dataset(const DeleteArtifactRequest* msg); }; const ::datacatalog::DatasetID& -ReservationID::HasBitSetters::dataset_id(const ReservationID* msg) { - return *msg->dataset_id_; +DeleteArtifactRequest::HasBitSetters::dataset(const DeleteArtifactRequest* msg) { + return *msg->dataset_; } #if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int ReservationID::kDatasetIdFieldNumber; -const int ReservationID::kTagNameFieldNumber; +const int DeleteArtifactRequest::kDatasetFieldNumber; +const int DeleteArtifactRequest::kArtifactIdFieldNumber; +const int DeleteArtifactRequest::kTagNameFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -ReservationID::ReservationID() +DeleteArtifactRequest::DeleteArtifactRequest() : ::google::protobuf::Message(), _internal_metadata_(nullptr) { SharedCtor(); - // @@protoc_insertion_point(constructor:datacatalog.ReservationID) + // @@protoc_insertion_point(constructor:datacatalog.DeleteArtifactRequest) } -ReservationID::ReservationID(const ReservationID& from) +DeleteArtifactRequest::DeleteArtifactRequest(const DeleteArtifactRequest& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (from.tag_name().size() > 0) { - tag_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_name_); - } - if (from.has_dataset_id()) { - dataset_id_ = new ::datacatalog::DatasetID(*from.dataset_id_); + if (from.has_dataset()) { + dataset_ = new ::datacatalog::DatasetID(*from.dataset_); } else { - dataset_id_ = nullptr; + dataset_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:datacatalog.ReservationID) + clear_has_query_handle(); + switch (from.query_handle_case()) { + case kArtifactId: { + set_artifact_id(from.artifact_id()); + break; + } + case kTagName: { + set_tag_name(from.tag_name()); + break; + } + case QUERY_HANDLE_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:datacatalog.DeleteArtifactRequest) } -void ReservationID::SharedCtor() { +void DeleteArtifactRequest::SharedCtor() { ::google::protobuf::internal::InitSCC( - &scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); - tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - dataset_id_ = nullptr; + &scc_info_DeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + dataset_ = nullptr; + clear_has_query_handle(); } -ReservationID::~ReservationID() { - // @@protoc_insertion_point(destructor:datacatalog.ReservationID) +DeleteArtifactRequest::~DeleteArtifactRequest() { + // @@protoc_insertion_point(destructor:datacatalog.DeleteArtifactRequest) SharedDtor(); } -void ReservationID::SharedDtor() { - tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (this != internal_default_instance()) delete dataset_id_; +void DeleteArtifactRequest::SharedDtor() { + if (this != internal_default_instance()) delete dataset_; + if (has_query_handle()) { + clear_query_handle(); + } } -void ReservationID::SetCachedSize(int size) const { +void DeleteArtifactRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ReservationID& ReservationID::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); +const DeleteArtifactRequest& DeleteArtifactRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeleteArtifactRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); return *internal_default_instance(); } -void ReservationID::Clear() { -// @@protoc_insertion_point(message_clear_start:datacatalog.ReservationID) +void DeleteArtifactRequest::clear_query_handle() { +// @@protoc_insertion_point(one_of_clear_start:datacatalog.DeleteArtifactRequest) + switch (query_handle_case()) { + case kArtifactId: { + query_handle_.artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + break; + } + case kTagName: { + query_handle_.tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + break; + } + case QUERY_HANDLE_NOT_SET: { + break; + } + } + _oneof_case_[0] = QUERY_HANDLE_NOT_SET; +} + + +void DeleteArtifactRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:datacatalog.DeleteArtifactRequest) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - tag_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - if (GetArenaNoVirtual() == nullptr && dataset_id_ != nullptr) { - delete dataset_id_; + if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { + delete dataset_; } - dataset_id_ = nullptr; + dataset_ = nullptr; + clear_query_handle(); _internal_metadata_.Clear(); } #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* ReservationID::_InternalParse(const char* begin, const char* end, void* object, +const char* DeleteArtifactRequest::_InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); + auto msg = static_cast(object); ::google::protobuf::int32 size; (void)size; int depth; (void)depth; ::google::protobuf::uint32 tag; @@ -6632,25 +6865,41 @@ const char* ReservationID::_InternalParse(const char* begin, const char* end, vo ptr = ::google::protobuf::io::Parse32(ptr, &tag); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); switch (tag >> 3) { - // .datacatalog.DatasetID dataset_id = 1; + // .datacatalog.DatasetID dataset = 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 = ::datacatalog::DatasetID::_InternalParse; - object = msg->mutable_dataset_id(); + object = msg->mutable_dataset(); 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; } - // string tag_name = 2; + // string artifact_id = 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("datacatalog.ReservationID.tag_name"); + ctx->extra_parse_data().SetFieldName("datacatalog.DeleteArtifactRequest.artifact_id"); + object = msg->mutable_artifact_id(); + 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 tag_name = 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("datacatalog.DeleteArtifactRequest.tag_name"); object = msg->mutable_tag_name(); if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; @@ -6685,36 +6934,51 @@ const char* ReservationID::_InternalParse(const char* begin, const char* end, vo {parser_till_end, object}, size); } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ReservationID::MergePartialFromCodedStream( +bool DeleteArtifactRequest::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:datacatalog.ReservationID) + // @@protoc_insertion_point(parse_start:datacatalog.DeleteArtifactRequest) 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)) { - // .datacatalog.DatasetID dataset_id = 1; + // .datacatalog.DatasetID dataset = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_dataset_id())); + input, mutable_dataset())); } else { goto handle_unusual; } break; } - // string tag_name = 2; + // string artifact_id = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_artifact_id())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_id().data(), static_cast(this->artifact_id().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "datacatalog.DeleteArtifactRequest.artifact_id")); + } else { + goto handle_unusual; + } + break; + } + + // string tag_name = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_tag_name())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->tag_name().data(), static_cast(this->tag_name().length()), ::google::protobuf::internal::WireFormatLite::PARSE, - "datacatalog.ReservationID.tag_name")); + "datacatalog.DeleteArtifactRequest.tag_name")); } else { goto handle_unusual; } @@ -6733,66 +6997,961 @@ bool ReservationID::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:datacatalog.ReservationID) + // @@protoc_insertion_point(parse_success:datacatalog.DeleteArtifactRequest) return true; failure: - // @@protoc_insertion_point(parse_failure:datacatalog.ReservationID) + // @@protoc_insertion_point(parse_failure:datacatalog.DeleteArtifactRequest) return false; #undef DO_ } #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -void ReservationID::SerializeWithCachedSizes( +void DeleteArtifactRequest::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:datacatalog.ReservationID) + // @@protoc_insertion_point(serialize_start:datacatalog.DeleteArtifactRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .datacatalog.DatasetID dataset_id = 1; - if (this->has_dataset_id()) { + // .datacatalog.DatasetID dataset = 1; + if (this->has_dataset()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, HasBitSetters::dataset_id(this), output); + 1, HasBitSetters::dataset(this), output); } - // string tag_name = 2; - if (this->tag_name().size() > 0) { + // string artifact_id = 2; + if (has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_id().data(), static_cast(this->artifact_id().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "datacatalog.DeleteArtifactRequest.artifact_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->artifact_id(), output); + } + + // string tag_name = 3; + if (has_tag_name()) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->tag_name().data(), static_cast(this->tag_name().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ReservationID.tag_name"); + "datacatalog.DeleteArtifactRequest.tag_name"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( - 2, this->tag_name(), output); + 3, this->tag_name(), output); } if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } - // @@protoc_insertion_point(serialize_end:datacatalog.ReservationID) + // @@protoc_insertion_point(serialize_end:datacatalog.DeleteArtifactRequest) } -::google::protobuf::uint8* ReservationID::InternalSerializeWithCachedSizesToArray( +::google::protobuf::uint8* DeleteArtifactRequest::InternalSerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ReservationID) + // @@protoc_insertion_point(serialize_to_array_start:datacatalog.DeleteArtifactRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .datacatalog.DatasetID dataset_id = 1; - if (this->has_dataset_id()) { + // .datacatalog.DatasetID dataset = 1; + if (this->has_dataset()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 1, HasBitSetters::dataset_id(this), target); + 1, HasBitSetters::dataset(this), target); } - // string tag_name = 2; - if (this->tag_name().size() > 0) { + // string artifact_id = 2; + if (has_artifact_id()) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->tag_name().data(), static_cast(this->tag_name().length()), + this->artifact_id().data(), static_cast(this->artifact_id().length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "datacatalog.ReservationID.tag_name"); + "datacatalog.DeleteArtifactRequest.artifact_id"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 2, this->tag_name(), target); + 2, this->artifact_id(), target); + } + + // string tag_name = 3; + if (has_tag_name()) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag_name().data(), static_cast(this->tag_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "datacatalog.DeleteArtifactRequest.tag_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->tag_name(), 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:datacatalog.DeleteArtifactRequest) + return target; +} + +size_t DeleteArtifactRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:datacatalog.DeleteArtifactRequest) + 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; + + // .datacatalog.DatasetID dataset = 1; + if (this->has_dataset()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *dataset_); + } + + switch (query_handle_case()) { + // string artifact_id = 2; + case kArtifactId: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->artifact_id()); + break; + } + // string tag_name = 3; + case kTagName: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->tag_name()); + break; + } + case QUERY_HANDLE_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DeleteArtifactRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.DeleteArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + const DeleteArtifactRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.DeleteArtifactRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.DeleteArtifactRequest) + MergeFrom(*source); + } +} + +void DeleteArtifactRequest::MergeFrom(const DeleteArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.DeleteArtifactRequest) + 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_dataset()) { + mutable_dataset()->::datacatalog::DatasetID::MergeFrom(from.dataset()); + } + switch (from.query_handle_case()) { + case kArtifactId: { + set_artifact_id(from.artifact_id()); + break; + } + case kTagName: { + set_tag_name(from.tag_name()); + break; + } + case QUERY_HANDLE_NOT_SET: { + break; + } + } +} + +void DeleteArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.DeleteArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DeleteArtifactRequest::CopyFrom(const DeleteArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.DeleteArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteArtifactRequest::IsInitialized() const { + return true; +} + +void DeleteArtifactRequest::Swap(DeleteArtifactRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void DeleteArtifactRequest::InternalSwap(DeleteArtifactRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(dataset_, other->dataset_); + swap(query_handle_, other->query_handle_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata DeleteArtifactRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); + return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DeleteArtifactsRequest::InitAsDefaultInstance() { +} +class DeleteArtifactsRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DeleteArtifactsRequest::kArtifactsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DeleteArtifactsRequest::DeleteArtifactsRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:datacatalog.DeleteArtifactsRequest) +} +DeleteArtifactsRequest::DeleteArtifactsRequest(const DeleteArtifactsRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + artifacts_(from.artifacts_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:datacatalog.DeleteArtifactsRequest) +} + +void DeleteArtifactsRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DeleteArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); +} + +DeleteArtifactsRequest::~DeleteArtifactsRequest() { + // @@protoc_insertion_point(destructor:datacatalog.DeleteArtifactsRequest) + SharedDtor(); +} + +void DeleteArtifactsRequest::SharedDtor() { +} + +void DeleteArtifactsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DeleteArtifactsRequest& DeleteArtifactsRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeleteArtifactsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + return *internal_default_instance(); +} + + +void DeleteArtifactsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:datacatalog.DeleteArtifactsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + artifacts_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DeleteArtifactsRequest::_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 .datacatalog.DeleteArtifactRequest artifacts = 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 = ::datacatalog::DeleteArtifactRequest::_InternalParse; + object = msg->add_artifacts(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + 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 DeleteArtifactsRequest::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:datacatalog.DeleteArtifactsRequest) + 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 .datacatalog.DeleteArtifactRequest artifacts = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifacts())); + } 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:datacatalog.DeleteArtifactsRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:datacatalog.DeleteArtifactsRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DeleteArtifactsRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:datacatalog.DeleteArtifactsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.DeleteArtifactRequest artifacts = 1; + for (unsigned int i = 0, + n = static_cast(this->artifacts_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->artifacts(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:datacatalog.DeleteArtifactsRequest) +} + +::google::protobuf::uint8* DeleteArtifactsRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:datacatalog.DeleteArtifactsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.DeleteArtifactRequest artifacts = 1; + for (unsigned int i = 0, + n = static_cast(this->artifacts_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->artifacts(static_cast(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:datacatalog.DeleteArtifactsRequest) + return target; +} + +size_t DeleteArtifactsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:datacatalog.DeleteArtifactsRequest) + 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 .datacatalog.DeleteArtifactRequest artifacts = 1; + { + unsigned int count = static_cast(this->artifacts_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->artifacts(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DeleteArtifactsRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.DeleteArtifactsRequest) + GOOGLE_DCHECK_NE(&from, this); + const DeleteArtifactsRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.DeleteArtifactsRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.DeleteArtifactsRequest) + MergeFrom(*source); + } +} + +void DeleteArtifactsRequest::MergeFrom(const DeleteArtifactsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.DeleteArtifactsRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + artifacts_.MergeFrom(from.artifacts_); +} + +void DeleteArtifactsRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.DeleteArtifactsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DeleteArtifactsRequest::CopyFrom(const DeleteArtifactsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.DeleteArtifactsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteArtifactsRequest::IsInitialized() const { + return true; +} + +void DeleteArtifactsRequest::Swap(DeleteArtifactsRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void DeleteArtifactsRequest::InternalSwap(DeleteArtifactsRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifacts_)->InternalSwap(CastToBase(&other->artifacts_)); +} + +::google::protobuf::Metadata DeleteArtifactsRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); + return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DeleteArtifactResponse::InitAsDefaultInstance() { +} +class DeleteArtifactResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DeleteArtifactResponse::DeleteArtifactResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:datacatalog.DeleteArtifactResponse) +} +DeleteArtifactResponse::DeleteArtifactResponse(const DeleteArtifactResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:datacatalog.DeleteArtifactResponse) +} + +void DeleteArtifactResponse::SharedCtor() { +} + +DeleteArtifactResponse::~DeleteArtifactResponse() { + // @@protoc_insertion_point(destructor:datacatalog.DeleteArtifactResponse) + SharedDtor(); +} + +void DeleteArtifactResponse::SharedDtor() { +} + +void DeleteArtifactResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DeleteArtifactResponse& DeleteArtifactResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeleteArtifactResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + return *internal_default_instance(); +} + + +void DeleteArtifactResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:datacatalog.DeleteArtifactResponse) + ::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* DeleteArtifactResponse::_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 DeleteArtifactResponse::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:datacatalog.DeleteArtifactResponse) + 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:datacatalog.DeleteArtifactResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:datacatalog.DeleteArtifactResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DeleteArtifactResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:datacatalog.DeleteArtifactResponse) + ::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:datacatalog.DeleteArtifactResponse) +} + +::google::protobuf::uint8* DeleteArtifactResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:datacatalog.DeleteArtifactResponse) + ::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:datacatalog.DeleteArtifactResponse) + return target; +} + +size_t DeleteArtifactResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:datacatalog.DeleteArtifactResponse) + 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 DeleteArtifactResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.DeleteArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + const DeleteArtifactResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.DeleteArtifactResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.DeleteArtifactResponse) + MergeFrom(*source); + } +} + +void DeleteArtifactResponse::MergeFrom(const DeleteArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.DeleteArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void DeleteArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.DeleteArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DeleteArtifactResponse::CopyFrom(const DeleteArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.DeleteArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteArtifactResponse::IsInitialized() const { + return true; +} + +void DeleteArtifactResponse::Swap(DeleteArtifactResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void DeleteArtifactResponse::InternalSwap(DeleteArtifactResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata DeleteArtifactResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); + return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ReservationID::InitAsDefaultInstance() { + ::datacatalog::_ReservationID_default_instance_._instance.get_mutable()->dataset_id_ = const_cast< ::datacatalog::DatasetID*>( + ::datacatalog::DatasetID::internal_default_instance()); +} +class ReservationID::HasBitSetters { + public: + static const ::datacatalog::DatasetID& dataset_id(const ReservationID* msg); +}; + +const ::datacatalog::DatasetID& +ReservationID::HasBitSetters::dataset_id(const ReservationID* msg) { + return *msg->dataset_id_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ReservationID::kDatasetIdFieldNumber; +const int ReservationID::kTagNameFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ReservationID::ReservationID() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:datacatalog.ReservationID) +} +ReservationID::ReservationID(const ReservationID& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.tag_name().size() > 0) { + tag_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_name_); + } + if (from.has_dataset_id()) { + dataset_id_ = new ::datacatalog::DatasetID(*from.dataset_id_); + } else { + dataset_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:datacatalog.ReservationID) +} + +void ReservationID::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + dataset_id_ = nullptr; +} + +ReservationID::~ReservationID() { + // @@protoc_insertion_point(destructor:datacatalog.ReservationID) + SharedDtor(); +} + +void ReservationID::SharedDtor() { + tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete dataset_id_; +} + +void ReservationID::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ReservationID& ReservationID::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ReservationID_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + return *internal_default_instance(); +} + + +void ReservationID::Clear() { +// @@protoc_insertion_point(message_clear_start:datacatalog.ReservationID) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + tag_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && dataset_id_ != nullptr) { + delete dataset_id_; + } + dataset_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ReservationID::_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) { + // .datacatalog.DatasetID dataset_id = 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 = ::datacatalog::DatasetID::_InternalParse; + object = msg->mutable_dataset_id(); + 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; + } + // string tag_name = 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("datacatalog.ReservationID.tag_name"); + object = msg->mutable_tag_name(); + 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 ReservationID::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:datacatalog.ReservationID) + 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)) { + // .datacatalog.DatasetID dataset_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_dataset_id())); + } else { + goto handle_unusual; + } + break; + } + + // string tag_name = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_tag_name())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag_name().data(), static_cast(this->tag_name().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "datacatalog.ReservationID.tag_name")); + } 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:datacatalog.ReservationID) + return true; +failure: + // @@protoc_insertion_point(parse_failure:datacatalog.ReservationID) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ReservationID::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:datacatalog.ReservationID) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .datacatalog.DatasetID dataset_id = 1; + if (this->has_dataset_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::dataset_id(this), output); + } + + // string tag_name = 2; + if (this->tag_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag_name().data(), static_cast(this->tag_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "datacatalog.ReservationID.tag_name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->tag_name(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:datacatalog.ReservationID) +} + +::google::protobuf::uint8* ReservationID::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ReservationID) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .datacatalog.DatasetID dataset_id = 1; + if (this->has_dataset_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::dataset_id(this), target); + } + + // string tag_name = 2; + if (this->tag_name().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag_name().data(), static_cast(this->tag_name().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "datacatalog.ReservationID.tag_name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->tag_name(), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -7303,38 +8462,318 @@ void GetOrExtendReservationRequest::MergeFrom(const GetOrExtendReservationReques } } -void GetOrExtendReservationRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetOrExtendReservationRequest) +void GetOrExtendReservationRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetOrExtendReservationRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetOrExtendReservationRequest::CopyFrom(const GetOrExtendReservationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetOrExtendReservationRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetOrExtendReservationRequest::IsInitialized() const { + return true; +} + +void GetOrExtendReservationRequest::Swap(GetOrExtendReservationRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void GetOrExtendReservationRequest::InternalSwap(GetOrExtendReservationRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + owner_id_.Swap(&other->owner_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(reservation_id_, other->reservation_id_); + swap(heartbeat_interval_, other->heartbeat_interval_); +} + +::google::protobuf::Metadata GetOrExtendReservationRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); + return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetOrExtendReservationsRequest::InitAsDefaultInstance() { +} +class GetOrExtendReservationsRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int GetOrExtendReservationsRequest::kReservationsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GetOrExtendReservationsRequest::GetOrExtendReservationsRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:datacatalog.GetOrExtendReservationsRequest) +} +GetOrExtendReservationsRequest::GetOrExtendReservationsRequest(const GetOrExtendReservationsRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + reservations_(from.reservations_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:datacatalog.GetOrExtendReservationsRequest) +} + +void GetOrExtendReservationsRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetOrExtendReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); +} + +GetOrExtendReservationsRequest::~GetOrExtendReservationsRequest() { + // @@protoc_insertion_point(destructor:datacatalog.GetOrExtendReservationsRequest) + SharedDtor(); +} + +void GetOrExtendReservationsRequest::SharedDtor() { +} + +void GetOrExtendReservationsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetOrExtendReservationsRequest& GetOrExtendReservationsRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GetOrExtendReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + return *internal_default_instance(); +} + + +void GetOrExtendReservationsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:datacatalog.GetOrExtendReservationsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + reservations_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetOrExtendReservationsRequest::_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 .datacatalog.GetOrExtendReservationRequest reservations = 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 = ::datacatalog::GetOrExtendReservationRequest::_InternalParse; + object = msg->add_reservations(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + 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 GetOrExtendReservationsRequest::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:datacatalog.GetOrExtendReservationsRequest) + 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 .datacatalog.GetOrExtendReservationRequest reservations = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_reservations())); + } 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:datacatalog.GetOrExtendReservationsRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:datacatalog.GetOrExtendReservationsRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetOrExtendReservationsRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:datacatalog.GetOrExtendReservationsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + for (unsigned int i = 0, + n = static_cast(this->reservations_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->reservations(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:datacatalog.GetOrExtendReservationsRequest) +} + +::google::protobuf::uint8* GetOrExtendReservationsRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetOrExtendReservationsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + for (unsigned int i = 0, + n = static_cast(this->reservations_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->reservations(static_cast(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:datacatalog.GetOrExtendReservationsRequest) + return target; +} + +size_t GetOrExtendReservationsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetOrExtendReservationsRequest) + 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 .datacatalog.GetOrExtendReservationRequest reservations = 1; + { + unsigned int count = static_cast(this->reservations_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->reservations(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetOrExtendReservationsRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetOrExtendReservationsRequest) + GOOGLE_DCHECK_NE(&from, this); + const GetOrExtendReservationsRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetOrExtendReservationsRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetOrExtendReservationsRequest) + MergeFrom(*source); + } +} + +void GetOrExtendReservationsRequest::MergeFrom(const GetOrExtendReservationsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetOrExtendReservationsRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + reservations_.MergeFrom(from.reservations_); +} + +void GetOrExtendReservationsRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetOrExtendReservationsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -void GetOrExtendReservationRequest::CopyFrom(const GetOrExtendReservationRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetOrExtendReservationRequest) +void GetOrExtendReservationsRequest::CopyFrom(const GetOrExtendReservationsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetOrExtendReservationsRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetOrExtendReservationRequest::IsInitialized() const { +bool GetOrExtendReservationsRequest::IsInitialized() const { return true; } -void GetOrExtendReservationRequest::Swap(GetOrExtendReservationRequest* other) { +void GetOrExtendReservationsRequest::Swap(GetOrExtendReservationsRequest* other) { if (other == this) return; InternalSwap(other); } -void GetOrExtendReservationRequest::InternalSwap(GetOrExtendReservationRequest* other) { +void GetOrExtendReservationsRequest::InternalSwap(GetOrExtendReservationsRequest* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); - owner_id_.Swap(&other->owner_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), - GetArenaNoVirtual()); - swap(reservation_id_, other->reservation_id_); - swap(heartbeat_interval_, other->heartbeat_interval_); + CastToBase(&reservations_)->InternalSwap(CastToBase(&other->reservations_)); } -::google::protobuf::Metadata GetOrExtendReservationRequest::GetMetadata() const { +::google::protobuf::Metadata GetOrExtendReservationsRequest::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; } @@ -8106,19 +9545,297 @@ ::google::protobuf::uint8* GetOrExtendReservationResponse::InternalSerializeWith if (this->has_reservation()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 1, HasBitSetters::reservation(this), target); + 1, HasBitSetters::reservation(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:datacatalog.GetOrExtendReservationResponse) + return target; +} + +size_t GetOrExtendReservationResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetOrExtendReservationResponse) + 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; + + // .datacatalog.Reservation reservation = 1; + if (this->has_reservation()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *reservation_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetOrExtendReservationResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetOrExtendReservationResponse) + GOOGLE_DCHECK_NE(&from, this); + const GetOrExtendReservationResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetOrExtendReservationResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetOrExtendReservationResponse) + MergeFrom(*source); + } +} + +void GetOrExtendReservationResponse::MergeFrom(const GetOrExtendReservationResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetOrExtendReservationResponse) + 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_reservation()) { + mutable_reservation()->::datacatalog::Reservation::MergeFrom(from.reservation()); + } +} + +void GetOrExtendReservationResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetOrExtendReservationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetOrExtendReservationResponse::CopyFrom(const GetOrExtendReservationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetOrExtendReservationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetOrExtendReservationResponse::IsInitialized() const { + return true; +} + +void GetOrExtendReservationResponse::Swap(GetOrExtendReservationResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void GetOrExtendReservationResponse::InternalSwap(GetOrExtendReservationResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(reservation_, other->reservation_); +} + +::google::protobuf::Metadata GetOrExtendReservationResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); + return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetOrExtendReservationsResponse::InitAsDefaultInstance() { +} +class GetOrExtendReservationsResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int GetOrExtendReservationsResponse::kReservationsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GetOrExtendReservationsResponse::GetOrExtendReservationsResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:datacatalog.GetOrExtendReservationsResponse) +} +GetOrExtendReservationsResponse::GetOrExtendReservationsResponse(const GetOrExtendReservationsResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + reservations_(from.reservations_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:datacatalog.GetOrExtendReservationsResponse) +} + +void GetOrExtendReservationsResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetOrExtendReservationsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); +} + +GetOrExtendReservationsResponse::~GetOrExtendReservationsResponse() { + // @@protoc_insertion_point(destructor:datacatalog.GetOrExtendReservationsResponse) + SharedDtor(); +} + +void GetOrExtendReservationsResponse::SharedDtor() { +} + +void GetOrExtendReservationsResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetOrExtendReservationsResponse& GetOrExtendReservationsResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GetOrExtendReservationsResponse_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + return *internal_default_instance(); +} + + +void GetOrExtendReservationsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:datacatalog.GetOrExtendReservationsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + reservations_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetOrExtendReservationsResponse::_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 .datacatalog.Reservation reservations = 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 = ::datacatalog::Reservation::_InternalParse; + object = msg->add_reservations(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + 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 GetOrExtendReservationsResponse::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:datacatalog.GetOrExtendReservationsResponse) + 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 .datacatalog.Reservation reservations = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_reservations())); + } 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:datacatalog.GetOrExtendReservationsResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:datacatalog.GetOrExtendReservationsResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetOrExtendReservationsResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:datacatalog.GetOrExtendReservationsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.Reservation reservations = 1; + for (unsigned int i = 0, + n = static_cast(this->reservations_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->reservations(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:datacatalog.GetOrExtendReservationsResponse) +} + +::google::protobuf::uint8* GetOrExtendReservationsResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:datacatalog.GetOrExtendReservationsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.Reservation reservations = 1; + for (unsigned int i = 0, + n = static_cast(this->reservations_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->reservations(static_cast(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:datacatalog.GetOrExtendReservationResponse) + // @@protoc_insertion_point(serialize_to_array_end:datacatalog.GetOrExtendReservationsResponse) return target; } -size_t GetOrExtendReservationResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetOrExtendReservationResponse) +size_t GetOrExtendReservationsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:datacatalog.GetOrExtendReservationsResponse) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { @@ -8130,11 +9847,15 @@ size_t GetOrExtendReservationResponse::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .datacatalog.Reservation reservation = 1; - if (this->has_reservation()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *reservation_); + // repeated .datacatalog.Reservation reservations = 1; + { + unsigned int count = static_cast(this->reservations_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->reservations(static_cast(i))); + } } int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); @@ -8142,62 +9863,60 @@ size_t GetOrExtendReservationResponse::ByteSizeLong() const { return total_size; } -void GetOrExtendReservationResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetOrExtendReservationResponse) +void GetOrExtendReservationsResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.GetOrExtendReservationsResponse) GOOGLE_DCHECK_NE(&from, this); - const GetOrExtendReservationResponse* source = - ::google::protobuf::DynamicCastToGenerated( + const GetOrExtendReservationsResponse* source = + ::google::protobuf::DynamicCastToGenerated( &from); if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetOrExtendReservationResponse) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.GetOrExtendReservationsResponse) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetOrExtendReservationResponse) + // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.GetOrExtendReservationsResponse) MergeFrom(*source); } } -void GetOrExtendReservationResponse::MergeFrom(const GetOrExtendReservationResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetOrExtendReservationResponse) +void GetOrExtendReservationsResponse::MergeFrom(const GetOrExtendReservationsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.GetOrExtendReservationsResponse) 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_reservation()) { - mutable_reservation()->::datacatalog::Reservation::MergeFrom(from.reservation()); - } + reservations_.MergeFrom(from.reservations_); } -void GetOrExtendReservationResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetOrExtendReservationResponse) +void GetOrExtendReservationsResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.GetOrExtendReservationsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -void GetOrExtendReservationResponse::CopyFrom(const GetOrExtendReservationResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetOrExtendReservationResponse) +void GetOrExtendReservationsResponse::CopyFrom(const GetOrExtendReservationsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.GetOrExtendReservationsResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool GetOrExtendReservationResponse::IsInitialized() const { +bool GetOrExtendReservationsResponse::IsInitialized() const { return true; } -void GetOrExtendReservationResponse::Swap(GetOrExtendReservationResponse* other) { +void GetOrExtendReservationsResponse::Swap(GetOrExtendReservationsResponse* other) { if (other == this) return; InternalSwap(other); } -void GetOrExtendReservationResponse::InternalSwap(GetOrExtendReservationResponse* other) { +void GetOrExtendReservationsResponse::InternalSwap(GetOrExtendReservationsResponse* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); - swap(reservation_, other->reservation_); + CastToBase(&reservations_)->InternalSwap(CastToBase(&other->reservations_)); } -::google::protobuf::Metadata GetOrExtendReservationResponse::GetMetadata() const { +::google::protobuf::Metadata GetOrExtendReservationsResponse::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; } @@ -8567,6 +10286,286 @@ ::google::protobuf::Metadata ReleaseReservationRequest::GetMetadata() const { } +// =================================================================== + +void ReleaseReservationsRequest::InitAsDefaultInstance() { +} +class ReleaseReservationsRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ReleaseReservationsRequest::kReservationsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ReleaseReservationsRequest::ReleaseReservationsRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:datacatalog.ReleaseReservationsRequest) +} +ReleaseReservationsRequest::ReleaseReservationsRequest(const ReleaseReservationsRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + reservations_(from.reservations_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:datacatalog.ReleaseReservationsRequest) +} + +void ReleaseReservationsRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ReleaseReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); +} + +ReleaseReservationsRequest::~ReleaseReservationsRequest() { + // @@protoc_insertion_point(destructor:datacatalog.ReleaseReservationsRequest) + SharedDtor(); +} + +void ReleaseReservationsRequest::SharedDtor() { +} + +void ReleaseReservationsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ReleaseReservationsRequest& ReleaseReservationsRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ReleaseReservationsRequest_flyteidl_2fdatacatalog_2fdatacatalog_2eproto.base); + return *internal_default_instance(); +} + + +void ReleaseReservationsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:datacatalog.ReleaseReservationsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + reservations_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ReleaseReservationsRequest::_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 .datacatalog.ReleaseReservationRequest reservations = 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 = ::datacatalog::ReleaseReservationRequest::_InternalParse; + object = msg->add_reservations(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + 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 ReleaseReservationsRequest::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:datacatalog.ReleaseReservationsRequest) + 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 .datacatalog.ReleaseReservationRequest reservations = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_reservations())); + } 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:datacatalog.ReleaseReservationsRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:datacatalog.ReleaseReservationsRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ReleaseReservationsRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:datacatalog.ReleaseReservationsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.ReleaseReservationRequest reservations = 1; + for (unsigned int i = 0, + n = static_cast(this->reservations_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->reservations(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:datacatalog.ReleaseReservationsRequest) +} + +::google::protobuf::uint8* ReleaseReservationsRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:datacatalog.ReleaseReservationsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .datacatalog.ReleaseReservationRequest reservations = 1; + for (unsigned int i = 0, + n = static_cast(this->reservations_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->reservations(static_cast(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:datacatalog.ReleaseReservationsRequest) + return target; +} + +size_t ReleaseReservationsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:datacatalog.ReleaseReservationsRequest) + 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 .datacatalog.ReleaseReservationRequest reservations = 1; + { + unsigned int count = static_cast(this->reservations_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->reservations(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ReleaseReservationsRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:datacatalog.ReleaseReservationsRequest) + GOOGLE_DCHECK_NE(&from, this); + const ReleaseReservationsRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:datacatalog.ReleaseReservationsRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:datacatalog.ReleaseReservationsRequest) + MergeFrom(*source); + } +} + +void ReleaseReservationsRequest::MergeFrom(const ReleaseReservationsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:datacatalog.ReleaseReservationsRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + reservations_.MergeFrom(from.reservations_); +} + +void ReleaseReservationsRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:datacatalog.ReleaseReservationsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ReleaseReservationsRequest::CopyFrom(const ReleaseReservationsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:datacatalog.ReleaseReservationsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ReleaseReservationsRequest::IsInitialized() const { + return true; +} + +void ReleaseReservationsRequest::Swap(ReleaseReservationsRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void ReleaseReservationsRequest::InternalSwap(ReleaseReservationsRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&reservations_)->InternalSwap(CastToBase(&other->reservations_)); +} + +::google::protobuf::Metadata ReleaseReservationsRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); + return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[kIndexInFileMessages]; +} + + // =================================================================== void ReleaseReservationResponse::InitAsDefaultInstance() { @@ -11663,7 +13662,7 @@ void Metadata_KeyMapEntry_DoNotUse::MergeFrom(const Metadata_KeyMapEntry_DoNotUs } ::google::protobuf::Metadata Metadata_KeyMapEntry_DoNotUse::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fdatacatalog_2fdatacatalog_2eproto); - return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[28]; + return ::file_level_metadata_flyteidl_2fdatacatalog_2fdatacatalog_2eproto[34]; } void Metadata_KeyMapEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -15380,21 +17379,39 @@ template<> PROTOBUF_NOINLINE ::datacatalog::UpdateArtifactRequest* Arena::Create template<> PROTOBUF_NOINLINE ::datacatalog::UpdateArtifactResponse* Arena::CreateMaybeMessage< ::datacatalog::UpdateArtifactResponse >(Arena* arena) { return Arena::CreateInternal< ::datacatalog::UpdateArtifactResponse >(arena); } +template<> PROTOBUF_NOINLINE ::datacatalog::DeleteArtifactRequest* Arena::CreateMaybeMessage< ::datacatalog::DeleteArtifactRequest >(Arena* arena) { + return Arena::CreateInternal< ::datacatalog::DeleteArtifactRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::datacatalog::DeleteArtifactsRequest* Arena::CreateMaybeMessage< ::datacatalog::DeleteArtifactsRequest >(Arena* arena) { + return Arena::CreateInternal< ::datacatalog::DeleteArtifactsRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::datacatalog::DeleteArtifactResponse* Arena::CreateMaybeMessage< ::datacatalog::DeleteArtifactResponse >(Arena* arena) { + return Arena::CreateInternal< ::datacatalog::DeleteArtifactResponse >(arena); +} template<> PROTOBUF_NOINLINE ::datacatalog::ReservationID* Arena::CreateMaybeMessage< ::datacatalog::ReservationID >(Arena* arena) { return Arena::CreateInternal< ::datacatalog::ReservationID >(arena); } template<> PROTOBUF_NOINLINE ::datacatalog::GetOrExtendReservationRequest* Arena::CreateMaybeMessage< ::datacatalog::GetOrExtendReservationRequest >(Arena* arena) { return Arena::CreateInternal< ::datacatalog::GetOrExtendReservationRequest >(arena); } +template<> PROTOBUF_NOINLINE ::datacatalog::GetOrExtendReservationsRequest* Arena::CreateMaybeMessage< ::datacatalog::GetOrExtendReservationsRequest >(Arena* arena) { + return Arena::CreateInternal< ::datacatalog::GetOrExtendReservationsRequest >(arena); +} template<> PROTOBUF_NOINLINE ::datacatalog::Reservation* Arena::CreateMaybeMessage< ::datacatalog::Reservation >(Arena* arena) { return Arena::CreateInternal< ::datacatalog::Reservation >(arena); } template<> PROTOBUF_NOINLINE ::datacatalog::GetOrExtendReservationResponse* Arena::CreateMaybeMessage< ::datacatalog::GetOrExtendReservationResponse >(Arena* arena) { return Arena::CreateInternal< ::datacatalog::GetOrExtendReservationResponse >(arena); } +template<> PROTOBUF_NOINLINE ::datacatalog::GetOrExtendReservationsResponse* Arena::CreateMaybeMessage< ::datacatalog::GetOrExtendReservationsResponse >(Arena* arena) { + return Arena::CreateInternal< ::datacatalog::GetOrExtendReservationsResponse >(arena); +} template<> PROTOBUF_NOINLINE ::datacatalog::ReleaseReservationRequest* Arena::CreateMaybeMessage< ::datacatalog::ReleaseReservationRequest >(Arena* arena) { return Arena::CreateInternal< ::datacatalog::ReleaseReservationRequest >(arena); } +template<> PROTOBUF_NOINLINE ::datacatalog::ReleaseReservationsRequest* Arena::CreateMaybeMessage< ::datacatalog::ReleaseReservationsRequest >(Arena* arena) { + return Arena::CreateInternal< ::datacatalog::ReleaseReservationsRequest >(arena); +} template<> PROTOBUF_NOINLINE ::datacatalog::ReleaseReservationResponse* Arena::CreateMaybeMessage< ::datacatalog::ReleaseReservationResponse >(Arena* arena) { return Arena::CreateInternal< ::datacatalog::ReleaseReservationResponse >(arena); } diff --git a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.h b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.h index ac8b5c69c..5a70732a5 100644 --- a/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.h +++ b/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.h @@ -48,7 +48,7 @@ struct TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_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[38] + static const ::google::protobuf::internal::ParseTable schema[44] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -92,6 +92,15 @@ extern DatasetIDDefaultTypeInternal _DatasetID_default_instance_; class DatasetPropertyFilter; class DatasetPropertyFilterDefaultTypeInternal; extern DatasetPropertyFilterDefaultTypeInternal _DatasetPropertyFilter_default_instance_; +class DeleteArtifactRequest; +class DeleteArtifactRequestDefaultTypeInternal; +extern DeleteArtifactRequestDefaultTypeInternal _DeleteArtifactRequest_default_instance_; +class DeleteArtifactResponse; +class DeleteArtifactResponseDefaultTypeInternal; +extern DeleteArtifactResponseDefaultTypeInternal _DeleteArtifactResponse_default_instance_; +class DeleteArtifactsRequest; +class DeleteArtifactsRequestDefaultTypeInternal; +extern DeleteArtifactsRequestDefaultTypeInternal _DeleteArtifactsRequest_default_instance_; class FilterExpression; class FilterExpressionDefaultTypeInternal; extern FilterExpressionDefaultTypeInternal _FilterExpression_default_instance_; @@ -113,6 +122,12 @@ extern GetOrExtendReservationRequestDefaultTypeInternal _GetOrExtendReservationR class GetOrExtendReservationResponse; class GetOrExtendReservationResponseDefaultTypeInternal; extern GetOrExtendReservationResponseDefaultTypeInternal _GetOrExtendReservationResponse_default_instance_; +class GetOrExtendReservationsRequest; +class GetOrExtendReservationsRequestDefaultTypeInternal; +extern GetOrExtendReservationsRequestDefaultTypeInternal _GetOrExtendReservationsRequest_default_instance_; +class GetOrExtendReservationsResponse; +class GetOrExtendReservationsResponseDefaultTypeInternal; +extern GetOrExtendReservationsResponseDefaultTypeInternal _GetOrExtendReservationsResponse_default_instance_; class KeyValuePair; class KeyValuePairDefaultTypeInternal; extern KeyValuePairDefaultTypeInternal _KeyValuePair_default_instance_; @@ -149,6 +164,9 @@ extern ReleaseReservationRequestDefaultTypeInternal _ReleaseReservationRequest_d class ReleaseReservationResponse; class ReleaseReservationResponseDefaultTypeInternal; extern ReleaseReservationResponseDefaultTypeInternal _ReleaseReservationResponse_default_instance_; +class ReleaseReservationsRequest; +class ReleaseReservationsRequestDefaultTypeInternal; +extern ReleaseReservationsRequestDefaultTypeInternal _ReleaseReservationsRequest_default_instance_; class Reservation; class ReservationDefaultTypeInternal; extern ReservationDefaultTypeInternal _Reservation_default_instance_; @@ -185,6 +203,9 @@ template<> ::datacatalog::CreateDatasetResponse* Arena::CreateMaybeMessage<::dat template<> ::datacatalog::Dataset* Arena::CreateMaybeMessage<::datacatalog::Dataset>(Arena*); template<> ::datacatalog::DatasetID* Arena::CreateMaybeMessage<::datacatalog::DatasetID>(Arena*); template<> ::datacatalog::DatasetPropertyFilter* Arena::CreateMaybeMessage<::datacatalog::DatasetPropertyFilter>(Arena*); +template<> ::datacatalog::DeleteArtifactRequest* Arena::CreateMaybeMessage<::datacatalog::DeleteArtifactRequest>(Arena*); +template<> ::datacatalog::DeleteArtifactResponse* Arena::CreateMaybeMessage<::datacatalog::DeleteArtifactResponse>(Arena*); +template<> ::datacatalog::DeleteArtifactsRequest* Arena::CreateMaybeMessage<::datacatalog::DeleteArtifactsRequest>(Arena*); template<> ::datacatalog::FilterExpression* Arena::CreateMaybeMessage<::datacatalog::FilterExpression>(Arena*); template<> ::datacatalog::GetArtifactRequest* Arena::CreateMaybeMessage<::datacatalog::GetArtifactRequest>(Arena*); template<> ::datacatalog::GetArtifactResponse* Arena::CreateMaybeMessage<::datacatalog::GetArtifactResponse>(Arena*); @@ -192,6 +213,8 @@ template<> ::datacatalog::GetDatasetRequest* Arena::CreateMaybeMessage<::datacat template<> ::datacatalog::GetDatasetResponse* Arena::CreateMaybeMessage<::datacatalog::GetDatasetResponse>(Arena*); template<> ::datacatalog::GetOrExtendReservationRequest* Arena::CreateMaybeMessage<::datacatalog::GetOrExtendReservationRequest>(Arena*); template<> ::datacatalog::GetOrExtendReservationResponse* Arena::CreateMaybeMessage<::datacatalog::GetOrExtendReservationResponse>(Arena*); +template<> ::datacatalog::GetOrExtendReservationsRequest* Arena::CreateMaybeMessage<::datacatalog::GetOrExtendReservationsRequest>(Arena*); +template<> ::datacatalog::GetOrExtendReservationsResponse* Arena::CreateMaybeMessage<::datacatalog::GetOrExtendReservationsResponse>(Arena*); template<> ::datacatalog::KeyValuePair* Arena::CreateMaybeMessage<::datacatalog::KeyValuePair>(Arena*); template<> ::datacatalog::ListArtifactsRequest* Arena::CreateMaybeMessage<::datacatalog::ListArtifactsRequest>(Arena*); template<> ::datacatalog::ListArtifactsResponse* Arena::CreateMaybeMessage<::datacatalog::ListArtifactsResponse>(Arena*); @@ -204,6 +227,7 @@ template<> ::datacatalog::Partition* Arena::CreateMaybeMessage<::datacatalog::Pa template<> ::datacatalog::PartitionPropertyFilter* Arena::CreateMaybeMessage<::datacatalog::PartitionPropertyFilter>(Arena*); template<> ::datacatalog::ReleaseReservationRequest* Arena::CreateMaybeMessage<::datacatalog::ReleaseReservationRequest>(Arena*); template<> ::datacatalog::ReleaseReservationResponse* Arena::CreateMaybeMessage<::datacatalog::ReleaseReservationResponse>(Arena*); +template<> ::datacatalog::ReleaseReservationsRequest* Arena::CreateMaybeMessage<::datacatalog::ReleaseReservationsRequest>(Arena*); template<> ::datacatalog::Reservation* Arena::CreateMaybeMessage<::datacatalog::Reservation>(Arena*); template<> ::datacatalog::ReservationID* Arena::CreateMaybeMessage<::datacatalog::ReservationID>(Arena*); template<> ::datacatalog::SinglePropertyFilter* Arena::CreateMaybeMessage<::datacatalog::SinglePropertyFilter>(Arena*); @@ -2280,25 +2304,25 @@ class UpdateArtifactResponse final : }; // ------------------------------------------------------------------- -class ReservationID final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReservationID) */ { +class DeleteArtifactRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DeleteArtifactRequest) */ { public: - ReservationID(); - virtual ~ReservationID(); + DeleteArtifactRequest(); + virtual ~DeleteArtifactRequest(); - ReservationID(const ReservationID& from); + DeleteArtifactRequest(const DeleteArtifactRequest& from); - inline ReservationID& operator=(const ReservationID& from) { + inline DeleteArtifactRequest& operator=(const DeleteArtifactRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - ReservationID(ReservationID&& from) noexcept - : ReservationID() { + DeleteArtifactRequest(DeleteArtifactRequest&& from) noexcept + : DeleteArtifactRequest() { *this = ::std::move(from); } - inline ReservationID& operator=(ReservationID&& from) noexcept { + inline DeleteArtifactRequest& operator=(DeleteArtifactRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2310,34 +2334,40 @@ class ReservationID final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const ReservationID& default_instance(); + static const DeleteArtifactRequest& default_instance(); + + enum QueryHandleCase { + kArtifactId = 2, + kTagName = 3, + QUERY_HANDLE_NOT_SET = 0, + }; static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ReservationID* internal_default_instance() { - return reinterpret_cast( - &_ReservationID_default_instance_); + static inline const DeleteArtifactRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteArtifactRequest_default_instance_); } static constexpr int kIndexInFileMessages = 16; - void Swap(ReservationID* other); - friend void swap(ReservationID& a, ReservationID& b) { + void Swap(DeleteArtifactRequest* other); + friend void swap(DeleteArtifactRequest& a, DeleteArtifactRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline ReservationID* New() const final { - return CreateMaybeMessage(nullptr); + inline DeleteArtifactRequest* New() const final { + return CreateMaybeMessage(nullptr); } - ReservationID* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DeleteArtifactRequest* 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 ReservationID& from); - void MergeFrom(const ReservationID& from); + void CopyFrom(const DeleteArtifactRequest& from); + void MergeFrom(const DeleteArtifactRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2359,7 +2389,7 @@ class ReservationID final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ReservationID* other); + void InternalSwap(DeleteArtifactRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2375,9 +2405,38 @@ class ReservationID final : // accessors ------------------------------------------------------- - // string tag_name = 2; + // .datacatalog.DatasetID dataset = 1; + bool has_dataset() const; + void clear_dataset(); + static const int kDatasetFieldNumber = 1; + const ::datacatalog::DatasetID& dataset() const; + ::datacatalog::DatasetID* release_dataset(); + ::datacatalog::DatasetID* mutable_dataset(); + void set_allocated_dataset(::datacatalog::DatasetID* dataset); + + // string artifact_id = 2; + private: + bool has_artifact_id() const; + public: + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 2; + const ::std::string& artifact_id() const; + void set_artifact_id(const ::std::string& value); + #if LANG_CXX11 + void set_artifact_id(::std::string&& value); + #endif + void set_artifact_id(const char* value); + void set_artifact_id(const char* value, size_t size); + ::std::string* mutable_artifact_id(); + ::std::string* release_artifact_id(); + void set_allocated_artifact_id(::std::string* artifact_id); + + // string tag_name = 3; + private: + bool has_tag_name() const; + public: void clear_tag_name(); - static const int kTagNameFieldNumber = 2; + static const int kTagNameFieldNumber = 3; const ::std::string& tag_name() const; void set_tag_name(const ::std::string& value); #if LANG_CXX11 @@ -2389,46 +2448,50 @@ class ReservationID final : ::std::string* release_tag_name(); void set_allocated_tag_name(::std::string* tag_name); - // .datacatalog.DatasetID dataset_id = 1; - bool has_dataset_id() const; - void clear_dataset_id(); - static const int kDatasetIdFieldNumber = 1; - const ::datacatalog::DatasetID& dataset_id() const; - ::datacatalog::DatasetID* release_dataset_id(); - ::datacatalog::DatasetID* mutable_dataset_id(); - void set_allocated_dataset_id(::datacatalog::DatasetID* dataset_id); - - // @@protoc_insertion_point(class_scope:datacatalog.ReservationID) + void clear_query_handle(); + QueryHandleCase query_handle_case() const; + // @@protoc_insertion_point(class_scope:datacatalog.DeleteArtifactRequest) private: class HasBitSetters; + void set_has_artifact_id(); + void set_has_tag_name(); + + inline bool has_query_handle() const; + inline void clear_has_query_handle(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr tag_name_; - ::datacatalog::DatasetID* dataset_id_; + ::datacatalog::DatasetID* dataset_; + union QueryHandleUnion { + QueryHandleUnion() {} + ::google::protobuf::internal::ArenaStringPtr artifact_id_; + ::google::protobuf::internal::ArenaStringPtr tag_name_; + } query_handle_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class GetOrExtendReservationRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetOrExtendReservationRequest) */ { +class DeleteArtifactsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DeleteArtifactsRequest) */ { public: - GetOrExtendReservationRequest(); - virtual ~GetOrExtendReservationRequest(); + DeleteArtifactsRequest(); + virtual ~DeleteArtifactsRequest(); - GetOrExtendReservationRequest(const GetOrExtendReservationRequest& from); + DeleteArtifactsRequest(const DeleteArtifactsRequest& from); - inline GetOrExtendReservationRequest& operator=(const GetOrExtendReservationRequest& from) { + inline DeleteArtifactsRequest& operator=(const DeleteArtifactsRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - GetOrExtendReservationRequest(GetOrExtendReservationRequest&& from) noexcept - : GetOrExtendReservationRequest() { + DeleteArtifactsRequest(DeleteArtifactsRequest&& from) noexcept + : DeleteArtifactsRequest() { *this = ::std::move(from); } - inline GetOrExtendReservationRequest& operator=(GetOrExtendReservationRequest&& from) noexcept { + inline DeleteArtifactsRequest& operator=(DeleteArtifactsRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2440,34 +2503,34 @@ class GetOrExtendReservationRequest final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const GetOrExtendReservationRequest& default_instance(); + static const DeleteArtifactsRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetOrExtendReservationRequest* internal_default_instance() { - return reinterpret_cast( - &_GetOrExtendReservationRequest_default_instance_); + static inline const DeleteArtifactsRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteArtifactsRequest_default_instance_); } static constexpr int kIndexInFileMessages = 17; - void Swap(GetOrExtendReservationRequest* other); - friend void swap(GetOrExtendReservationRequest& a, GetOrExtendReservationRequest& b) { + void Swap(DeleteArtifactsRequest* other); + friend void swap(DeleteArtifactsRequest& a, DeleteArtifactsRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline GetOrExtendReservationRequest* New() const final { - return CreateMaybeMessage(nullptr); + inline DeleteArtifactsRequest* New() const final { + return CreateMaybeMessage(nullptr); } - GetOrExtendReservationRequest* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DeleteArtifactsRequest* 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 GetOrExtendReservationRequest& from); - void MergeFrom(const GetOrExtendReservationRequest& from); + void CopyFrom(const DeleteArtifactsRequest& from); + void MergeFrom(const DeleteArtifactsRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2489,7 +2552,7 @@ class GetOrExtendReservationRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetOrExtendReservationRequest* other); + void InternalSwap(DeleteArtifactsRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2505,70 +2568,48 @@ class GetOrExtendReservationRequest final : // accessors ------------------------------------------------------- - // string owner_id = 2; - void clear_owner_id(); - static const int kOwnerIdFieldNumber = 2; - const ::std::string& owner_id() const; - void set_owner_id(const ::std::string& value); - #if LANG_CXX11 - void set_owner_id(::std::string&& value); - #endif - void set_owner_id(const char* value); - void set_owner_id(const char* value, size_t size); - ::std::string* mutable_owner_id(); - ::std::string* release_owner_id(); - void set_allocated_owner_id(::std::string* owner_id); - - // .datacatalog.ReservationID reservation_id = 1; - bool has_reservation_id() const; - void clear_reservation_id(); - static const int kReservationIdFieldNumber = 1; - const ::datacatalog::ReservationID& reservation_id() const; - ::datacatalog::ReservationID* release_reservation_id(); - ::datacatalog::ReservationID* mutable_reservation_id(); - void set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id); - - // .google.protobuf.Duration heartbeat_interval = 3; - bool has_heartbeat_interval() const; - void clear_heartbeat_interval(); - static const int kHeartbeatIntervalFieldNumber = 3; - const ::google::protobuf::Duration& heartbeat_interval() const; - ::google::protobuf::Duration* release_heartbeat_interval(); - ::google::protobuf::Duration* mutable_heartbeat_interval(); - void set_allocated_heartbeat_interval(::google::protobuf::Duration* heartbeat_interval); + // repeated .datacatalog.DeleteArtifactRequest artifacts = 1; + int artifacts_size() const; + void clear_artifacts(); + static const int kArtifactsFieldNumber = 1; + ::datacatalog::DeleteArtifactRequest* mutable_artifacts(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::DeleteArtifactRequest >* + mutable_artifacts(); + const ::datacatalog::DeleteArtifactRequest& artifacts(int index) const; + ::datacatalog::DeleteArtifactRequest* add_artifacts(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::DeleteArtifactRequest >& + artifacts() const; - // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationRequest) + // @@protoc_insertion_point(class_scope:datacatalog.DeleteArtifactsRequest) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr owner_id_; - ::datacatalog::ReservationID* reservation_id_; - ::google::protobuf::Duration* heartbeat_interval_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::DeleteArtifactRequest > artifacts_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class Reservation final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Reservation) */ { +class DeleteArtifactResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DeleteArtifactResponse) */ { public: - Reservation(); - virtual ~Reservation(); + DeleteArtifactResponse(); + virtual ~DeleteArtifactResponse(); - Reservation(const Reservation& from); + DeleteArtifactResponse(const DeleteArtifactResponse& from); - inline Reservation& operator=(const Reservation& from) { + inline DeleteArtifactResponse& operator=(const DeleteArtifactResponse& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - Reservation(Reservation&& from) noexcept - : Reservation() { + DeleteArtifactResponse(DeleteArtifactResponse&& from) noexcept + : DeleteArtifactResponse() { *this = ::std::move(from); } - inline Reservation& operator=(Reservation&& from) noexcept { + inline DeleteArtifactResponse& operator=(DeleteArtifactResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2580,34 +2621,34 @@ class Reservation final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const Reservation& default_instance(); + static const DeleteArtifactResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Reservation* internal_default_instance() { - return reinterpret_cast( - &_Reservation_default_instance_); + static inline const DeleteArtifactResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteArtifactResponse_default_instance_); } static constexpr int kIndexInFileMessages = 18; - void Swap(Reservation* other); - friend void swap(Reservation& a, Reservation& b) { + void Swap(DeleteArtifactResponse* other); + friend void swap(DeleteArtifactResponse& a, DeleteArtifactResponse& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline Reservation* New() const final { - return CreateMaybeMessage(nullptr); + inline DeleteArtifactResponse* New() const final { + return CreateMaybeMessage(nullptr); } - Reservation* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DeleteArtifactResponse* 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 Reservation& from); - void MergeFrom(const Reservation& from); + void CopyFrom(const DeleteArtifactResponse& from); + void MergeFrom(const DeleteArtifactResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2629,7 +2670,7 @@ class Reservation final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(Reservation* other); + void InternalSwap(DeleteArtifactResponse* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2645,90 +2686,35 @@ class Reservation final : // accessors ------------------------------------------------------- - // string owner_id = 2; - void clear_owner_id(); - static const int kOwnerIdFieldNumber = 2; - const ::std::string& owner_id() const; - void set_owner_id(const ::std::string& value); - #if LANG_CXX11 - void set_owner_id(::std::string&& value); - #endif - void set_owner_id(const char* value); - void set_owner_id(const char* value, size_t size); - ::std::string* mutable_owner_id(); - ::std::string* release_owner_id(); - void set_allocated_owner_id(::std::string* owner_id); - - // .datacatalog.ReservationID reservation_id = 1; - bool has_reservation_id() const; - void clear_reservation_id(); - static const int kReservationIdFieldNumber = 1; - const ::datacatalog::ReservationID& reservation_id() const; - ::datacatalog::ReservationID* release_reservation_id(); - ::datacatalog::ReservationID* mutable_reservation_id(); - void set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id); - - // .google.protobuf.Duration heartbeat_interval = 3; - bool has_heartbeat_interval() const; - void clear_heartbeat_interval(); - static const int kHeartbeatIntervalFieldNumber = 3; - const ::google::protobuf::Duration& heartbeat_interval() const; - ::google::protobuf::Duration* release_heartbeat_interval(); - ::google::protobuf::Duration* mutable_heartbeat_interval(); - void set_allocated_heartbeat_interval(::google::protobuf::Duration* heartbeat_interval); - - // .google.protobuf.Timestamp expires_at = 4; - bool has_expires_at() const; - void clear_expires_at(); - static const int kExpiresAtFieldNumber = 4; - const ::google::protobuf::Timestamp& expires_at() const; - ::google::protobuf::Timestamp* release_expires_at(); - ::google::protobuf::Timestamp* mutable_expires_at(); - void set_allocated_expires_at(::google::protobuf::Timestamp* expires_at); - - // .datacatalog.Metadata metadata = 6; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 6; - const ::datacatalog::Metadata& metadata() const; - ::datacatalog::Metadata* release_metadata(); - ::datacatalog::Metadata* mutable_metadata(); - void set_allocated_metadata(::datacatalog::Metadata* metadata); - - // @@protoc_insertion_point(class_scope:datacatalog.Reservation) + // @@protoc_insertion_point(class_scope:datacatalog.DeleteArtifactResponse) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr owner_id_; - ::datacatalog::ReservationID* reservation_id_; - ::google::protobuf::Duration* heartbeat_interval_; - ::google::protobuf::Timestamp* expires_at_; - ::datacatalog::Metadata* metadata_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class GetOrExtendReservationResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetOrExtendReservationResponse) */ { +class ReservationID final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReservationID) */ { public: - GetOrExtendReservationResponse(); - virtual ~GetOrExtendReservationResponse(); + ReservationID(); + virtual ~ReservationID(); - GetOrExtendReservationResponse(const GetOrExtendReservationResponse& from); + ReservationID(const ReservationID& from); - inline GetOrExtendReservationResponse& operator=(const GetOrExtendReservationResponse& from) { + inline ReservationID& operator=(const ReservationID& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - GetOrExtendReservationResponse(GetOrExtendReservationResponse&& from) noexcept - : GetOrExtendReservationResponse() { + ReservationID(ReservationID&& from) noexcept + : ReservationID() { *this = ::std::move(from); } - inline GetOrExtendReservationResponse& operator=(GetOrExtendReservationResponse&& from) noexcept { + inline ReservationID& operator=(ReservationID&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2740,34 +2726,34 @@ class GetOrExtendReservationResponse final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const GetOrExtendReservationResponse& default_instance(); + static const ReservationID& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const GetOrExtendReservationResponse* internal_default_instance() { - return reinterpret_cast( - &_GetOrExtendReservationResponse_default_instance_); + static inline const ReservationID* internal_default_instance() { + return reinterpret_cast( + &_ReservationID_default_instance_); } static constexpr int kIndexInFileMessages = 19; - void Swap(GetOrExtendReservationResponse* other); - friend void swap(GetOrExtendReservationResponse& a, GetOrExtendReservationResponse& b) { + void Swap(ReservationID* other); + friend void swap(ReservationID& a, ReservationID& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline GetOrExtendReservationResponse* New() const final { - return CreateMaybeMessage(nullptr); + inline ReservationID* New() const final { + return CreateMaybeMessage(nullptr); } - GetOrExtendReservationResponse* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + ReservationID* 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 GetOrExtendReservationResponse& from); - void MergeFrom(const GetOrExtendReservationResponse& from); + void CopyFrom(const ReservationID& from); + void MergeFrom(const ReservationID& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2789,7 +2775,7 @@ class GetOrExtendReservationResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(GetOrExtendReservationResponse* other); + void InternalSwap(ReservationID* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2805,45 +2791,60 @@ class GetOrExtendReservationResponse final : // accessors ------------------------------------------------------- - // .datacatalog.Reservation reservation = 1; - bool has_reservation() const; - void clear_reservation(); - static const int kReservationFieldNumber = 1; - const ::datacatalog::Reservation& reservation() const; - ::datacatalog::Reservation* release_reservation(); - ::datacatalog::Reservation* mutable_reservation(); - void set_allocated_reservation(::datacatalog::Reservation* reservation); + // string tag_name = 2; + void clear_tag_name(); + static const int kTagNameFieldNumber = 2; + const ::std::string& tag_name() const; + void set_tag_name(const ::std::string& value); + #if LANG_CXX11 + void set_tag_name(::std::string&& value); + #endif + void set_tag_name(const char* value); + void set_tag_name(const char* value, size_t size); + ::std::string* mutable_tag_name(); + ::std::string* release_tag_name(); + void set_allocated_tag_name(::std::string* tag_name); - // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationResponse) + // .datacatalog.DatasetID dataset_id = 1; + bool has_dataset_id() const; + void clear_dataset_id(); + static const int kDatasetIdFieldNumber = 1; + const ::datacatalog::DatasetID& dataset_id() const; + ::datacatalog::DatasetID* release_dataset_id(); + ::datacatalog::DatasetID* mutable_dataset_id(); + void set_allocated_dataset_id(::datacatalog::DatasetID* dataset_id); + + // @@protoc_insertion_point(class_scope:datacatalog.ReservationID) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::datacatalog::Reservation* reservation_; + ::google::protobuf::internal::ArenaStringPtr tag_name_; + ::datacatalog::DatasetID* dataset_id_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class ReleaseReservationRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReleaseReservationRequest) */ { +class GetOrExtendReservationRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetOrExtendReservationRequest) */ { public: - ReleaseReservationRequest(); - virtual ~ReleaseReservationRequest(); + GetOrExtendReservationRequest(); + virtual ~GetOrExtendReservationRequest(); - ReleaseReservationRequest(const ReleaseReservationRequest& from); + GetOrExtendReservationRequest(const GetOrExtendReservationRequest& from); - inline ReleaseReservationRequest& operator=(const ReleaseReservationRequest& from) { + inline GetOrExtendReservationRequest& operator=(const GetOrExtendReservationRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - ReleaseReservationRequest(ReleaseReservationRequest&& from) noexcept - : ReleaseReservationRequest() { + GetOrExtendReservationRequest(GetOrExtendReservationRequest&& from) noexcept + : GetOrExtendReservationRequest() { *this = ::std::move(from); } - inline ReleaseReservationRequest& operator=(ReleaseReservationRequest&& from) noexcept { + inline GetOrExtendReservationRequest& operator=(GetOrExtendReservationRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2855,34 +2856,34 @@ class ReleaseReservationRequest final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const ReleaseReservationRequest& default_instance(); + static const GetOrExtendReservationRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ReleaseReservationRequest* internal_default_instance() { - return reinterpret_cast( - &_ReleaseReservationRequest_default_instance_); + static inline const GetOrExtendReservationRequest* internal_default_instance() { + return reinterpret_cast( + &_GetOrExtendReservationRequest_default_instance_); } static constexpr int kIndexInFileMessages = 20; - void Swap(ReleaseReservationRequest* other); - friend void swap(ReleaseReservationRequest& a, ReleaseReservationRequest& b) { + void Swap(GetOrExtendReservationRequest* other); + friend void swap(GetOrExtendReservationRequest& a, GetOrExtendReservationRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline ReleaseReservationRequest* New() const final { - return CreateMaybeMessage(nullptr); + inline GetOrExtendReservationRequest* New() const final { + return CreateMaybeMessage(nullptr); } - ReleaseReservationRequest* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + GetOrExtendReservationRequest* 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 ReleaseReservationRequest& from); - void MergeFrom(const ReleaseReservationRequest& from); + void CopyFrom(const GetOrExtendReservationRequest& from); + void MergeFrom(const GetOrExtendReservationRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2904,7 +2905,7 @@ class ReleaseReservationRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ReleaseReservationRequest* other); + void InternalSwap(GetOrExtendReservationRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2943,37 +2944,47 @@ class ReleaseReservationRequest final : ::datacatalog::ReservationID* mutable_reservation_id(); void set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id); - // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationRequest) + // .google.protobuf.Duration heartbeat_interval = 3; + bool has_heartbeat_interval() const; + void clear_heartbeat_interval(); + static const int kHeartbeatIntervalFieldNumber = 3; + const ::google::protobuf::Duration& heartbeat_interval() const; + ::google::protobuf::Duration* release_heartbeat_interval(); + ::google::protobuf::Duration* mutable_heartbeat_interval(); + void set_allocated_heartbeat_interval(::google::protobuf::Duration* heartbeat_interval); + + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationRequest) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::internal::ArenaStringPtr owner_id_; ::datacatalog::ReservationID* reservation_id_; + ::google::protobuf::Duration* heartbeat_interval_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class ReleaseReservationResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReleaseReservationResponse) */ { +class GetOrExtendReservationsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetOrExtendReservationsRequest) */ { public: - ReleaseReservationResponse(); - virtual ~ReleaseReservationResponse(); + GetOrExtendReservationsRequest(); + virtual ~GetOrExtendReservationsRequest(); - ReleaseReservationResponse(const ReleaseReservationResponse& from); + GetOrExtendReservationsRequest(const GetOrExtendReservationsRequest& from); - inline ReleaseReservationResponse& operator=(const ReleaseReservationResponse& from) { + inline GetOrExtendReservationsRequest& operator=(const GetOrExtendReservationsRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - ReleaseReservationResponse(ReleaseReservationResponse&& from) noexcept - : ReleaseReservationResponse() { + GetOrExtendReservationsRequest(GetOrExtendReservationsRequest&& from) noexcept + : GetOrExtendReservationsRequest() { *this = ::std::move(from); } - inline ReleaseReservationResponse& operator=(ReleaseReservationResponse&& from) noexcept { + inline GetOrExtendReservationsRequest& operator=(GetOrExtendReservationsRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2985,34 +2996,34 @@ class ReleaseReservationResponse final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const ReleaseReservationResponse& default_instance(); + static const GetOrExtendReservationsRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ReleaseReservationResponse* internal_default_instance() { - return reinterpret_cast( - &_ReleaseReservationResponse_default_instance_); + static inline const GetOrExtendReservationsRequest* internal_default_instance() { + return reinterpret_cast( + &_GetOrExtendReservationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = 21; - void Swap(ReleaseReservationResponse* other); - friend void swap(ReleaseReservationResponse& a, ReleaseReservationResponse& b) { + void Swap(GetOrExtendReservationsRequest* other); + friend void swap(GetOrExtendReservationsRequest& a, GetOrExtendReservationsRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline ReleaseReservationResponse* New() const final { - return CreateMaybeMessage(nullptr); + inline GetOrExtendReservationsRequest* New() const final { + return CreateMaybeMessage(nullptr); } - ReleaseReservationResponse* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + GetOrExtendReservationsRequest* 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 ReleaseReservationResponse& from); - void MergeFrom(const ReleaseReservationResponse& from); + void CopyFrom(const GetOrExtendReservationsRequest& from); + void MergeFrom(const GetOrExtendReservationsRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -3034,7 +3045,7 @@ class ReleaseReservationResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ReleaseReservationResponse* other); + void InternalSwap(GetOrExtendReservationsRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -3050,35 +3061,48 @@ class ReleaseReservationResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationResponse) + // repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + int reservations_size() const; + void clear_reservations(); + static const int kReservationsFieldNumber = 1; + ::datacatalog::GetOrExtendReservationRequest* mutable_reservations(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::GetOrExtendReservationRequest >* + mutable_reservations(); + const ::datacatalog::GetOrExtendReservationRequest& reservations(int index) const; + ::datacatalog::GetOrExtendReservationRequest* add_reservations(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::GetOrExtendReservationRequest >& + reservations() const; + + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationsRequest) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::GetOrExtendReservationRequest > reservations_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class Dataset final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Dataset) */ { +class Reservation final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Reservation) */ { public: - Dataset(); - virtual ~Dataset(); + Reservation(); + virtual ~Reservation(); - Dataset(const Dataset& from); + Reservation(const Reservation& from); - inline Dataset& operator=(const Dataset& from) { + inline Reservation& operator=(const Reservation& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - Dataset(Dataset&& from) noexcept - : Dataset() { + Reservation(Reservation&& from) noexcept + : Reservation() { *this = ::std::move(from); } - inline Dataset& operator=(Dataset&& from) noexcept { + inline Reservation& operator=(Reservation&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -3090,34 +3114,34 @@ class Dataset final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const Dataset& default_instance(); + static const Reservation& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Dataset* internal_default_instance() { - return reinterpret_cast( - &_Dataset_default_instance_); + static inline const Reservation* internal_default_instance() { + return reinterpret_cast( + &_Reservation_default_instance_); } static constexpr int kIndexInFileMessages = 22; - void Swap(Dataset* other); - friend void swap(Dataset& a, Dataset& b) { + void Swap(Reservation* other); + friend void swap(Reservation& a, Reservation& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline Dataset* New() const final { - return CreateMaybeMessage(nullptr); + inline Reservation* New() const final { + return CreateMaybeMessage(nullptr); } - Dataset* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + Reservation* 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 Dataset& from); - void MergeFrom(const Dataset& from); + void CopyFrom(const Reservation& from); + void MergeFrom(const Reservation& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -3139,7 +3163,7 @@ class Dataset final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(Dataset* other); + void InternalSwap(Reservation* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -3155,78 +3179,90 @@ class Dataset final : // accessors ------------------------------------------------------- - // repeated string partitionKeys = 3; - int partitionkeys_size() const; - void clear_partitionkeys(); - static const int kPartitionKeysFieldNumber = 3; - const ::std::string& partitionkeys(int index) const; - ::std::string* mutable_partitionkeys(int index); - void set_partitionkeys(int index, const ::std::string& value); - #if LANG_CXX11 - void set_partitionkeys(int index, ::std::string&& value); - #endif - void set_partitionkeys(int index, const char* value); - void set_partitionkeys(int index, const char* value, size_t size); - ::std::string* add_partitionkeys(); - void add_partitionkeys(const ::std::string& value); + // string owner_id = 2; + void clear_owner_id(); + static const int kOwnerIdFieldNumber = 2; + const ::std::string& owner_id() const; + void set_owner_id(const ::std::string& value); #if LANG_CXX11 - void add_partitionkeys(::std::string&& value); + void set_owner_id(::std::string&& value); #endif - void add_partitionkeys(const char* value); - void add_partitionkeys(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& partitionkeys() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_partitionkeys(); + void set_owner_id(const char* value); + void set_owner_id(const char* value, size_t size); + ::std::string* mutable_owner_id(); + ::std::string* release_owner_id(); + void set_allocated_owner_id(::std::string* owner_id); - // .datacatalog.DatasetID id = 1; - bool has_id() const; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::datacatalog::DatasetID& id() const; - ::datacatalog::DatasetID* release_id(); - ::datacatalog::DatasetID* mutable_id(); - void set_allocated_id(::datacatalog::DatasetID* id); + // .datacatalog.ReservationID reservation_id = 1; + bool has_reservation_id() const; + void clear_reservation_id(); + static const int kReservationIdFieldNumber = 1; + const ::datacatalog::ReservationID& reservation_id() const; + ::datacatalog::ReservationID* release_reservation_id(); + ::datacatalog::ReservationID* mutable_reservation_id(); + void set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id); - // .datacatalog.Metadata metadata = 2; + // .google.protobuf.Duration heartbeat_interval = 3; + bool has_heartbeat_interval() const; + void clear_heartbeat_interval(); + static const int kHeartbeatIntervalFieldNumber = 3; + const ::google::protobuf::Duration& heartbeat_interval() const; + ::google::protobuf::Duration* release_heartbeat_interval(); + ::google::protobuf::Duration* mutable_heartbeat_interval(); + void set_allocated_heartbeat_interval(::google::protobuf::Duration* heartbeat_interval); + + // .google.protobuf.Timestamp expires_at = 4; + bool has_expires_at() const; + void clear_expires_at(); + static const int kExpiresAtFieldNumber = 4; + const ::google::protobuf::Timestamp& expires_at() const; + ::google::protobuf::Timestamp* release_expires_at(); + ::google::protobuf::Timestamp* mutable_expires_at(); + void set_allocated_expires_at(::google::protobuf::Timestamp* expires_at); + + // .datacatalog.Metadata metadata = 6; bool has_metadata() const; void clear_metadata(); - static const int kMetadataFieldNumber = 2; + static const int kMetadataFieldNumber = 6; const ::datacatalog::Metadata& metadata() const; ::datacatalog::Metadata* release_metadata(); ::datacatalog::Metadata* mutable_metadata(); void set_allocated_metadata(::datacatalog::Metadata* metadata); - // @@protoc_insertion_point(class_scope:datacatalog.Dataset) + // @@protoc_insertion_point(class_scope:datacatalog.Reservation) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField<::std::string> partitionkeys_; - ::datacatalog::DatasetID* id_; + ::google::protobuf::internal::ArenaStringPtr owner_id_; + ::datacatalog::ReservationID* reservation_id_; + ::google::protobuf::Duration* heartbeat_interval_; + ::google::protobuf::Timestamp* expires_at_; ::datacatalog::Metadata* metadata_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class Partition final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Partition) */ { +class GetOrExtendReservationResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetOrExtendReservationResponse) */ { public: - Partition(); - virtual ~Partition(); + GetOrExtendReservationResponse(); + virtual ~GetOrExtendReservationResponse(); - Partition(const Partition& from); + GetOrExtendReservationResponse(const GetOrExtendReservationResponse& from); - inline Partition& operator=(const Partition& from) { + inline GetOrExtendReservationResponse& operator=(const GetOrExtendReservationResponse& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - Partition(Partition&& from) noexcept - : Partition() { + GetOrExtendReservationResponse(GetOrExtendReservationResponse&& from) noexcept + : GetOrExtendReservationResponse() { *this = ::std::move(from); } - inline Partition& operator=(Partition&& from) noexcept { + inline GetOrExtendReservationResponse& operator=(GetOrExtendReservationResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -3238,34 +3274,34 @@ class Partition final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const Partition& default_instance(); + static const GetOrExtendReservationResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Partition* internal_default_instance() { - return reinterpret_cast( - &_Partition_default_instance_); + static inline const GetOrExtendReservationResponse* internal_default_instance() { + return reinterpret_cast( + &_GetOrExtendReservationResponse_default_instance_); } static constexpr int kIndexInFileMessages = 23; - void Swap(Partition* other); - friend void swap(Partition& a, Partition& b) { + void Swap(GetOrExtendReservationResponse* other); + friend void swap(GetOrExtendReservationResponse& a, GetOrExtendReservationResponse& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline Partition* New() const final { - return CreateMaybeMessage(nullptr); + inline GetOrExtendReservationResponse* New() const final { + return CreateMaybeMessage(nullptr); } - Partition* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + GetOrExtendReservationResponse* 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 Partition& from); - void MergeFrom(const Partition& from); + void CopyFrom(const GetOrExtendReservationResponse& from); + void MergeFrom(const GetOrExtendReservationResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -3287,7 +3323,7 @@ class Partition final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(Partition* other); + void InternalSwap(GetOrExtendReservationResponse* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -3303,65 +3339,45 @@ class Partition final : // accessors ------------------------------------------------------- - // string key = 1; - void clear_key(); - static const int kKeyFieldNumber = 1; - const ::std::string& key() const; - void set_key(const ::std::string& value); - #if LANG_CXX11 - void set_key(::std::string&& value); - #endif - void set_key(const char* value); - void set_key(const char* value, size_t size); - ::std::string* mutable_key(); - ::std::string* release_key(); - void set_allocated_key(::std::string* key); - - // string value = 2; - void clear_value(); - static const int kValueFieldNumber = 2; - const ::std::string& value() const; - void set_value(const ::std::string& value); - #if LANG_CXX11 - void set_value(::std::string&& value); - #endif - void set_value(const char* value); - void set_value(const char* value, size_t size); - ::std::string* mutable_value(); - ::std::string* release_value(); - void set_allocated_value(::std::string* value); + // .datacatalog.Reservation reservation = 1; + bool has_reservation() const; + void clear_reservation(); + static const int kReservationFieldNumber = 1; + const ::datacatalog::Reservation& reservation() const; + ::datacatalog::Reservation* release_reservation(); + ::datacatalog::Reservation* mutable_reservation(); + void set_allocated_reservation(::datacatalog::Reservation* reservation); - // @@protoc_insertion_point(class_scope:datacatalog.Partition) + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationResponse) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr key_; - ::google::protobuf::internal::ArenaStringPtr value_; + ::datacatalog::Reservation* reservation_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class DatasetID final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DatasetID) */ { +class GetOrExtendReservationsResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.GetOrExtendReservationsResponse) */ { public: - DatasetID(); - virtual ~DatasetID(); + GetOrExtendReservationsResponse(); + virtual ~GetOrExtendReservationsResponse(); - DatasetID(const DatasetID& from); + GetOrExtendReservationsResponse(const GetOrExtendReservationsResponse& from); - inline DatasetID& operator=(const DatasetID& from) { + inline GetOrExtendReservationsResponse& operator=(const GetOrExtendReservationsResponse& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - DatasetID(DatasetID&& from) noexcept - : DatasetID() { + GetOrExtendReservationsResponse(GetOrExtendReservationsResponse&& from) noexcept + : GetOrExtendReservationsResponse() { *this = ::std::move(from); } - inline DatasetID& operator=(DatasetID&& from) noexcept { + inline GetOrExtendReservationsResponse& operator=(GetOrExtendReservationsResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -3373,34 +3389,34 @@ class DatasetID final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const DatasetID& default_instance(); + static const GetOrExtendReservationsResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DatasetID* internal_default_instance() { - return reinterpret_cast( - &_DatasetID_default_instance_); + static inline const GetOrExtendReservationsResponse* internal_default_instance() { + return reinterpret_cast( + &_GetOrExtendReservationsResponse_default_instance_); } static constexpr int kIndexInFileMessages = 24; - void Swap(DatasetID* other); - friend void swap(DatasetID& a, DatasetID& b) { + void Swap(GetOrExtendReservationsResponse* other); + friend void swap(GetOrExtendReservationsResponse& a, GetOrExtendReservationsResponse& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline DatasetID* New() const final { - return CreateMaybeMessage(nullptr); + inline GetOrExtendReservationsResponse* New() const final { + return CreateMaybeMessage(nullptr); } - DatasetID* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + GetOrExtendReservationsResponse* 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 DatasetID& from); - void MergeFrom(const DatasetID& from); + void CopyFrom(const GetOrExtendReservationsResponse& from); + void MergeFrom(const GetOrExtendReservationsResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -3422,7 +3438,7 @@ class DatasetID final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DatasetID* other); + void InternalSwap(GetOrExtendReservationsResponse* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -3438,110 +3454,48 @@ class DatasetID final : // 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 name = 2; - void clear_name(); - static const int kNameFieldNumber = 2; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // string domain = 3; - void clear_domain(); - static const int kDomainFieldNumber = 3; - 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 version = 4; - void clear_version(); - static const int kVersionFieldNumber = 4; - const ::std::string& version() const; - void set_version(const ::std::string& value); - #if LANG_CXX11 - void set_version(::std::string&& value); - #endif - void set_version(const char* value); - void set_version(const char* value, size_t size); - ::std::string* mutable_version(); - ::std::string* release_version(); - void set_allocated_version(::std::string* version); - - // string UUID = 5; - void clear_uuid(); - static const int kUUIDFieldNumber = 5; - const ::std::string& uuid() const; - void set_uuid(const ::std::string& value); - #if LANG_CXX11 - void set_uuid(::std::string&& value); - #endif - void set_uuid(const char* value); - void set_uuid(const char* value, size_t size); - ::std::string* mutable_uuid(); - ::std::string* release_uuid(); - void set_allocated_uuid(::std::string* uuid); - - // @@protoc_insertion_point(class_scope:datacatalog.DatasetID) + // repeated .datacatalog.Reservation reservations = 1; + int reservations_size() const; + void clear_reservations(); + static const int kReservationsFieldNumber = 1; + ::datacatalog::Reservation* mutable_reservations(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::Reservation >* + mutable_reservations(); + const ::datacatalog::Reservation& reservations(int index) const; + ::datacatalog::Reservation* add_reservations(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::Reservation >& + reservations() const; + + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationsResponse) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::google::protobuf::internal::ArenaStringPtr uuid_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::Reservation > reservations_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class Artifact final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Artifact) */ { +class ReleaseReservationRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReleaseReservationRequest) */ { public: - Artifact(); - virtual ~Artifact(); + ReleaseReservationRequest(); + virtual ~ReleaseReservationRequest(); - Artifact(const Artifact& from); + ReleaseReservationRequest(const ReleaseReservationRequest& from); - inline Artifact& operator=(const Artifact& from) { + inline ReleaseReservationRequest& operator=(const ReleaseReservationRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - Artifact(Artifact&& from) noexcept - : Artifact() { + ReleaseReservationRequest(ReleaseReservationRequest&& from) noexcept + : ReleaseReservationRequest() { *this = ::std::move(from); } - inline Artifact& operator=(Artifact&& from) noexcept { + inline ReleaseReservationRequest& operator=(ReleaseReservationRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -3553,34 +3507,34 @@ class Artifact final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const Artifact& default_instance(); + static const ReleaseReservationRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Artifact* internal_default_instance() { - return reinterpret_cast( - &_Artifact_default_instance_); + static inline const ReleaseReservationRequest* internal_default_instance() { + return reinterpret_cast( + &_ReleaseReservationRequest_default_instance_); } static constexpr int kIndexInFileMessages = 25; - void Swap(Artifact* other); - friend void swap(Artifact& a, Artifact& b) { + void Swap(ReleaseReservationRequest* other); + friend void swap(ReleaseReservationRequest& a, ReleaseReservationRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline Artifact* New() const final { - return CreateMaybeMessage(nullptr); + inline ReleaseReservationRequest* New() const final { + return CreateMaybeMessage(nullptr); } - Artifact* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + ReleaseReservationRequest* 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 Artifact& from); - void MergeFrom(const Artifact& from); + void CopyFrom(const ReleaseReservationRequest& from); + void MergeFrom(const ReleaseReservationRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -3602,7 +3556,7 @@ class Artifact final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(Artifact* other); + void InternalSwap(ReleaseReservationRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -3618,119 +3572,60 @@ class Artifact final : // accessors ------------------------------------------------------- - // repeated .datacatalog.ArtifactData data = 3; - int data_size() const; - void clear_data(); - static const int kDataFieldNumber = 3; - ::datacatalog::ArtifactData* mutable_data(int index); - ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >* - mutable_data(); - const ::datacatalog::ArtifactData& data(int index) const; - ::datacatalog::ArtifactData* add_data(); - const ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >& - data() const; - - // repeated .datacatalog.Partition partitions = 5; - int partitions_size() const; - void clear_partitions(); - static const int kPartitionsFieldNumber = 5; - ::datacatalog::Partition* mutable_partitions(int index); - ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition >* - mutable_partitions(); - const ::datacatalog::Partition& partitions(int index) const; - ::datacatalog::Partition* add_partitions(); - const ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition >& - partitions() const; + // string owner_id = 2; + void clear_owner_id(); + static const int kOwnerIdFieldNumber = 2; + const ::std::string& owner_id() const; + void set_owner_id(const ::std::string& value); + #if LANG_CXX11 + void set_owner_id(::std::string&& value); + #endif + void set_owner_id(const char* value); + void set_owner_id(const char* value, size_t size); + ::std::string* mutable_owner_id(); + ::std::string* release_owner_id(); + void set_allocated_owner_id(::std::string* owner_id); - // repeated .datacatalog.Tag tags = 6; - int tags_size() const; - void clear_tags(); - static const int kTagsFieldNumber = 6; - ::datacatalog::Tag* mutable_tags(int index); - ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag >* - mutable_tags(); - const ::datacatalog::Tag& tags(int index) const; - ::datacatalog::Tag* add_tags(); - const ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag >& - tags() const; - - // string id = 1; - void clear_id(); - static const int kIdFieldNumber = 1; - const ::std::string& id() const; - void set_id(const ::std::string& value); - #if LANG_CXX11 - void set_id(::std::string&& value); - #endif - void set_id(const char* value); - void set_id(const char* value, size_t size); - ::std::string* mutable_id(); - ::std::string* release_id(); - void set_allocated_id(::std::string* id); - - // .datacatalog.DatasetID dataset = 2; - bool has_dataset() const; - void clear_dataset(); - static const int kDatasetFieldNumber = 2; - const ::datacatalog::DatasetID& dataset() const; - ::datacatalog::DatasetID* release_dataset(); - ::datacatalog::DatasetID* mutable_dataset(); - void set_allocated_dataset(::datacatalog::DatasetID* dataset); - - // .datacatalog.Metadata metadata = 4; - bool has_metadata() const; - void clear_metadata(); - static const int kMetadataFieldNumber = 4; - const ::datacatalog::Metadata& metadata() const; - ::datacatalog::Metadata* release_metadata(); - ::datacatalog::Metadata* mutable_metadata(); - void set_allocated_metadata(::datacatalog::Metadata* metadata); - - // .google.protobuf.Timestamp created_at = 7; - bool has_created_at() const; - void clear_created_at(); - static const int kCreatedAtFieldNumber = 7; - const ::google::protobuf::Timestamp& created_at() const; - ::google::protobuf::Timestamp* release_created_at(); - ::google::protobuf::Timestamp* mutable_created_at(); - void set_allocated_created_at(::google::protobuf::Timestamp* created_at); + // .datacatalog.ReservationID reservation_id = 1; + bool has_reservation_id() const; + void clear_reservation_id(); + static const int kReservationIdFieldNumber = 1; + const ::datacatalog::ReservationID& reservation_id() const; + ::datacatalog::ReservationID* release_reservation_id(); + ::datacatalog::ReservationID* mutable_reservation_id(); + void set_allocated_reservation_id(::datacatalog::ReservationID* reservation_id); - // @@protoc_insertion_point(class_scope:datacatalog.Artifact) + // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationRequest) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData > data_; - ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition > partitions_; - ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag > tags_; - ::google::protobuf::internal::ArenaStringPtr id_; - ::datacatalog::DatasetID* dataset_; - ::datacatalog::Metadata* metadata_; - ::google::protobuf::Timestamp* created_at_; + ::google::protobuf::internal::ArenaStringPtr owner_id_; + ::datacatalog::ReservationID* reservation_id_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class ArtifactData final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ArtifactData) */ { +class ReleaseReservationsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReleaseReservationsRequest) */ { public: - ArtifactData(); - virtual ~ArtifactData(); + ReleaseReservationsRequest(); + virtual ~ReleaseReservationsRequest(); - ArtifactData(const ArtifactData& from); + ReleaseReservationsRequest(const ReleaseReservationsRequest& from); - inline ArtifactData& operator=(const ArtifactData& from) { + inline ReleaseReservationsRequest& operator=(const ReleaseReservationsRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - ArtifactData(ArtifactData&& from) noexcept - : ArtifactData() { + ReleaseReservationsRequest(ReleaseReservationsRequest&& from) noexcept + : ReleaseReservationsRequest() { *this = ::std::move(from); } - inline ArtifactData& operator=(ArtifactData&& from) noexcept { + inline ReleaseReservationsRequest& operator=(ReleaseReservationsRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -3742,34 +3637,34 @@ class ArtifactData final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const ArtifactData& default_instance(); + static const ReleaseReservationsRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactData* internal_default_instance() { - return reinterpret_cast( - &_ArtifactData_default_instance_); + static inline const ReleaseReservationsRequest* internal_default_instance() { + return reinterpret_cast( + &_ReleaseReservationsRequest_default_instance_); } static constexpr int kIndexInFileMessages = 26; - void Swap(ArtifactData* other); - friend void swap(ArtifactData& a, ArtifactData& b) { + void Swap(ReleaseReservationsRequest* other); + friend void swap(ReleaseReservationsRequest& a, ReleaseReservationsRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline ArtifactData* New() const final { - return CreateMaybeMessage(nullptr); + inline ReleaseReservationsRequest* New() const final { + return CreateMaybeMessage(nullptr); } - ArtifactData* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + ReleaseReservationsRequest* 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 ArtifactData& from); - void MergeFrom(const ArtifactData& from); + void CopyFrom(const ReleaseReservationsRequest& from); + void MergeFrom(const ReleaseReservationsRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -3791,7 +3686,7 @@ class ArtifactData final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ArtifactData* other); + void InternalSwap(ReleaseReservationsRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -3807,60 +3702,48 @@ class ArtifactData final : // accessors ------------------------------------------------------- - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // .flyteidl.core.Literal value = 2; - bool has_value() const; - void clear_value(); - static const int kValueFieldNumber = 2; - const ::flyteidl::core::Literal& value() const; - ::flyteidl::core::Literal* release_value(); - ::flyteidl::core::Literal* mutable_value(); - void set_allocated_value(::flyteidl::core::Literal* value); - - // @@protoc_insertion_point(class_scope:datacatalog.ArtifactData) + // repeated .datacatalog.ReleaseReservationRequest reservations = 1; + int reservations_size() const; + void clear_reservations(); + static const int kReservationsFieldNumber = 1; + ::datacatalog::ReleaseReservationRequest* mutable_reservations(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::ReleaseReservationRequest >* + mutable_reservations(); + const ::datacatalog::ReleaseReservationRequest& reservations(int index) const; + ::datacatalog::ReleaseReservationRequest* add_reservations(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::ReleaseReservationRequest >& + reservations() const; + + // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationsRequest) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flyteidl::core::Literal* value_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::ReleaseReservationRequest > reservations_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class Tag final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Tag) */ { +class ReleaseReservationResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ReleaseReservationResponse) */ { public: - Tag(); - virtual ~Tag(); + ReleaseReservationResponse(); + virtual ~ReleaseReservationResponse(); - Tag(const Tag& from); + ReleaseReservationResponse(const ReleaseReservationResponse& from); - inline Tag& operator=(const Tag& from) { + inline ReleaseReservationResponse& operator=(const ReleaseReservationResponse& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - Tag(Tag&& from) noexcept - : Tag() { + ReleaseReservationResponse(ReleaseReservationResponse&& from) noexcept + : ReleaseReservationResponse() { *this = ::std::move(from); } - inline Tag& operator=(Tag&& from) noexcept { + inline ReleaseReservationResponse& operator=(ReleaseReservationResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -3872,34 +3755,34 @@ class Tag final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const Tag& default_instance(); + static const ReleaseReservationResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Tag* internal_default_instance() { - return reinterpret_cast( - &_Tag_default_instance_); + static inline const ReleaseReservationResponse* internal_default_instance() { + return reinterpret_cast( + &_ReleaseReservationResponse_default_instance_); } static constexpr int kIndexInFileMessages = 27; - void Swap(Tag* other); - friend void swap(Tag& a, Tag& b) { + void Swap(ReleaseReservationResponse* other); + friend void swap(ReleaseReservationResponse& a, ReleaseReservationResponse& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline Tag* New() const final { - return CreateMaybeMessage(nullptr); + inline ReleaseReservationResponse* New() const final { + return CreateMaybeMessage(nullptr); } - Tag* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + ReleaseReservationResponse* 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 Tag& from); - void MergeFrom(const Tag& from); + void CopyFrom(const ReleaseReservationResponse& from); + void MergeFrom(const ReleaseReservationResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -3921,7 +3804,7 @@ class Tag final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(Tag* other); + void InternalSwap(ReleaseReservationResponse* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -3937,99 +3820,35 @@ class Tag final : // accessors ------------------------------------------------------- - // string name = 1; - void clear_name(); - static const int kNameFieldNumber = 1; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // string artifact_id = 2; - void clear_artifact_id(); - static const int kArtifactIdFieldNumber = 2; - const ::std::string& artifact_id() const; - void set_artifact_id(const ::std::string& value); - #if LANG_CXX11 - void set_artifact_id(::std::string&& value); - #endif - void set_artifact_id(const char* value); - void set_artifact_id(const char* value, size_t size); - ::std::string* mutable_artifact_id(); - ::std::string* release_artifact_id(); - void set_allocated_artifact_id(::std::string* artifact_id); - - // .datacatalog.DatasetID dataset = 3; - bool has_dataset() const; - void clear_dataset(); - static const int kDatasetFieldNumber = 3; - const ::datacatalog::DatasetID& dataset() const; - ::datacatalog::DatasetID* release_dataset(); - ::datacatalog::DatasetID* mutable_dataset(); - void set_allocated_dataset(::datacatalog::DatasetID* dataset); - - // @@protoc_insertion_point(class_scope:datacatalog.Tag) + // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationResponse) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr artifact_id_; - ::datacatalog::DatasetID* dataset_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class Metadata_KeyMapEntry_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; - Metadata_KeyMapEntry_DoNotUse(); - Metadata_KeyMapEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const Metadata_KeyMapEntry_DoNotUse& other); - static const Metadata_KeyMapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Metadata_KeyMapEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - -class Metadata final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Metadata) */ { +class Dataset final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Dataset) */ { public: - Metadata(); - virtual ~Metadata(); + Dataset(); + virtual ~Dataset(); - Metadata(const Metadata& from); + Dataset(const Dataset& from); - inline Metadata& operator=(const Metadata& from) { + inline Dataset& operator=(const Dataset& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - Metadata(Metadata&& from) noexcept - : Metadata() { + Dataset(Dataset&& from) noexcept + : Dataset() { *this = ::std::move(from); } - inline Metadata& operator=(Metadata&& from) noexcept { + inline Dataset& operator=(Dataset&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -4041,34 +3860,34 @@ class Metadata final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const Metadata& default_instance(); + static const Dataset& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const Metadata* internal_default_instance() { - return reinterpret_cast( - &_Metadata_default_instance_); + static inline const Dataset* internal_default_instance() { + return reinterpret_cast( + &_Dataset_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 28; - void Swap(Metadata* other); - friend void swap(Metadata& a, Metadata& b) { + void Swap(Dataset* other); + friend void swap(Dataset& a, Dataset& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline Metadata* New() const final { - return CreateMaybeMessage(nullptr); + inline Dataset* New() const final { + return CreateMaybeMessage(nullptr); } - Metadata* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + Dataset* 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 Metadata& from); - void MergeFrom(const Metadata& from); + void CopyFrom(const Dataset& from); + void MergeFrom(const Dataset& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -4090,7 +3909,7 @@ class Metadata final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(Metadata* other); + void InternalSwap(Dataset* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -4104,53 +3923,80 @@ class Metadata final : // nested types ---------------------------------------------------- - // accessors ------------------------------------------------------- - // map key_map = 1; - int key_map_size() const; - void clear_key_map(); - static const int kKeyMapFieldNumber = 1; - const ::google::protobuf::Map< ::std::string, ::std::string >& - key_map() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_key_map(); + // repeated string partitionKeys = 3; + int partitionkeys_size() const; + void clear_partitionkeys(); + static const int kPartitionKeysFieldNumber = 3; + const ::std::string& partitionkeys(int index) const; + ::std::string* mutable_partitionkeys(int index); + void set_partitionkeys(int index, const ::std::string& value); + #if LANG_CXX11 + void set_partitionkeys(int index, ::std::string&& value); + #endif + void set_partitionkeys(int index, const char* value); + void set_partitionkeys(int index, const char* value, size_t size); + ::std::string* add_partitionkeys(); + void add_partitionkeys(const ::std::string& value); + #if LANG_CXX11 + void add_partitionkeys(::std::string&& value); + #endif + void add_partitionkeys(const char* value); + void add_partitionkeys(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField<::std::string>& partitionkeys() const; + ::google::protobuf::RepeatedPtrField<::std::string>* mutable_partitionkeys(); - // @@protoc_insertion_point(class_scope:datacatalog.Metadata) + // .datacatalog.DatasetID id = 1; + bool has_id() const; + void clear_id(); + static const int kIdFieldNumber = 1; + const ::datacatalog::DatasetID& id() const; + ::datacatalog::DatasetID* release_id(); + ::datacatalog::DatasetID* mutable_id(); + void set_allocated_id(::datacatalog::DatasetID* id); + + // .datacatalog.Metadata metadata = 2; + bool has_metadata() const; + void clear_metadata(); + static const int kMetadataFieldNumber = 2; + const ::datacatalog::Metadata& metadata() const; + ::datacatalog::Metadata* release_metadata(); + ::datacatalog::Metadata* mutable_metadata(); + void set_allocated_metadata(::datacatalog::Metadata* metadata); + + // @@protoc_insertion_point(class_scope:datacatalog.Dataset) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - Metadata_KeyMapEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > key_map_; + ::google::protobuf::RepeatedPtrField<::std::string> partitionkeys_; + ::datacatalog::DatasetID* id_; + ::datacatalog::Metadata* metadata_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class FilterExpression final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.FilterExpression) */ { +class Partition final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Partition) */ { public: - FilterExpression(); - virtual ~FilterExpression(); + Partition(); + virtual ~Partition(); - FilterExpression(const FilterExpression& from); + Partition(const Partition& from); - inline FilterExpression& operator=(const FilterExpression& from) { + inline Partition& operator=(const Partition& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - FilterExpression(FilterExpression&& from) noexcept - : FilterExpression() { + Partition(Partition&& from) noexcept + : Partition() { *this = ::std::move(from); } - inline FilterExpression& operator=(FilterExpression&& from) noexcept { + inline Partition& operator=(Partition&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -4162,34 +4008,34 @@ class FilterExpression final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const FilterExpression& default_instance(); + static const Partition& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const FilterExpression* internal_default_instance() { - return reinterpret_cast( - &_FilterExpression_default_instance_); + static inline const Partition* internal_default_instance() { + return reinterpret_cast( + &_Partition_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 29; - void Swap(FilterExpression* other); - friend void swap(FilterExpression& a, FilterExpression& b) { + void Swap(Partition* other); + friend void swap(Partition& a, Partition& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline FilterExpression* New() const final { - return CreateMaybeMessage(nullptr); + inline Partition* New() const final { + return CreateMaybeMessage(nullptr); } - FilterExpression* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + Partition* 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 FilterExpression& from); - void MergeFrom(const FilterExpression& from); + void CopyFrom(const Partition& from); + void MergeFrom(const Partition& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -4211,7 +4057,7 @@ class FilterExpression final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(FilterExpression* other); + void InternalSwap(Partition* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -4227,48 +4073,65 @@ class FilterExpression final : // accessors ------------------------------------------------------- - // repeated .datacatalog.SinglePropertyFilter filters = 1; - int filters_size() const; - void clear_filters(); - static const int kFiltersFieldNumber = 1; - ::datacatalog::SinglePropertyFilter* mutable_filters(int index); - ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter >* - mutable_filters(); - const ::datacatalog::SinglePropertyFilter& filters(int index) const; - ::datacatalog::SinglePropertyFilter* add_filters(); - const ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter >& - filters() const; + // string key = 1; + void clear_key(); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif + void set_key(const char* value); + void set_key(const char* value, size_t size); + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); - // @@protoc_insertion_point(class_scope:datacatalog.FilterExpression) + // string value = 2; + void clear_value(); + static const int kValueFieldNumber = 2; + const ::std::string& value() const; + void set_value(const ::std::string& value); + #if LANG_CXX11 + void set_value(::std::string&& value); + #endif + void set_value(const char* value); + void set_value(const char* value, size_t size); + ::std::string* mutable_value(); + ::std::string* release_value(); + void set_allocated_value(::std::string* value); + + // @@protoc_insertion_point(class_scope:datacatalog.Partition) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter > filters_; + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::internal::ArenaStringPtr value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class SinglePropertyFilter final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.SinglePropertyFilter) */ { +class DatasetID final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DatasetID) */ { public: - SinglePropertyFilter(); - virtual ~SinglePropertyFilter(); + DatasetID(); + virtual ~DatasetID(); - SinglePropertyFilter(const SinglePropertyFilter& from); + DatasetID(const DatasetID& from); - inline SinglePropertyFilter& operator=(const SinglePropertyFilter& from) { + inline DatasetID& operator=(const DatasetID& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - SinglePropertyFilter(SinglePropertyFilter&& from) noexcept - : SinglePropertyFilter() { + DatasetID(DatasetID&& from) noexcept + : DatasetID() { *this = ::std::move(from); } - inline SinglePropertyFilter& operator=(SinglePropertyFilter&& from) noexcept { + inline DatasetID& operator=(DatasetID&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -4280,42 +4143,34 @@ class SinglePropertyFilter final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const SinglePropertyFilter& default_instance(); - - enum PropertyFilterCase { - kTagFilter = 1, - kPartitionFilter = 2, - kArtifactFilter = 3, - kDatasetFilter = 4, - PROPERTY_FILTER_NOT_SET = 0, - }; + static const DatasetID& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const SinglePropertyFilter* internal_default_instance() { - return reinterpret_cast( - &_SinglePropertyFilter_default_instance_); + static inline const DatasetID* internal_default_instance() { + return reinterpret_cast( + &_DatasetID_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 30; - void Swap(SinglePropertyFilter* other); - friend void swap(SinglePropertyFilter& a, SinglePropertyFilter& b) { + void Swap(DatasetID* other); + friend void swap(DatasetID& a, DatasetID& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline SinglePropertyFilter* New() const final { - return CreateMaybeMessage(nullptr); + inline DatasetID* New() const final { + return CreateMaybeMessage(nullptr); } - SinglePropertyFilter* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DatasetID* 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 SinglePropertyFilter& from); - void MergeFrom(const SinglePropertyFilter& from); + void CopyFrom(const DatasetID& from); + void MergeFrom(const DatasetID& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -4337,7 +4192,7 @@ class SinglePropertyFilter final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(SinglePropertyFilter* other); + void InternalSwap(DatasetID* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -4351,122 +4206,112 @@ class SinglePropertyFilter final : // nested types ---------------------------------------------------- - typedef SinglePropertyFilter_ComparisonOperator ComparisonOperator; - static const ComparisonOperator EQUALS = - SinglePropertyFilter_ComparisonOperator_EQUALS; - static inline bool ComparisonOperator_IsValid(int value) { - return SinglePropertyFilter_ComparisonOperator_IsValid(value); - } - static const ComparisonOperator ComparisonOperator_MIN = - SinglePropertyFilter_ComparisonOperator_ComparisonOperator_MIN; - static const ComparisonOperator ComparisonOperator_MAX = - SinglePropertyFilter_ComparisonOperator_ComparisonOperator_MAX; - static const int ComparisonOperator_ARRAYSIZE = - SinglePropertyFilter_ComparisonOperator_ComparisonOperator_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - ComparisonOperator_descriptor() { - return SinglePropertyFilter_ComparisonOperator_descriptor(); - } - static inline const ::std::string& ComparisonOperator_Name(ComparisonOperator value) { - return SinglePropertyFilter_ComparisonOperator_Name(value); - } - static inline bool ComparisonOperator_Parse(const ::std::string& name, - ComparisonOperator* value) { - return SinglePropertyFilter_ComparisonOperator_Parse(name, value); - } - // accessors ------------------------------------------------------- - // .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; - void clear_operator_(); - static const int kOperatorFieldNumber = 10; - ::datacatalog::SinglePropertyFilter_ComparisonOperator operator_() const; - void set_operator_(::datacatalog::SinglePropertyFilter_ComparisonOperator value); - - // .datacatalog.TagPropertyFilter tag_filter = 1; - bool has_tag_filter() const; - void clear_tag_filter(); - static const int kTagFilterFieldNumber = 1; - const ::datacatalog::TagPropertyFilter& tag_filter() const; - ::datacatalog::TagPropertyFilter* release_tag_filter(); - ::datacatalog::TagPropertyFilter* mutable_tag_filter(); - void set_allocated_tag_filter(::datacatalog::TagPropertyFilter* tag_filter); + // 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); - // .datacatalog.PartitionPropertyFilter partition_filter = 2; - bool has_partition_filter() const; - void clear_partition_filter(); - static const int kPartitionFilterFieldNumber = 2; - const ::datacatalog::PartitionPropertyFilter& partition_filter() const; - ::datacatalog::PartitionPropertyFilter* release_partition_filter(); - ::datacatalog::PartitionPropertyFilter* mutable_partition_filter(); - void set_allocated_partition_filter(::datacatalog::PartitionPropertyFilter* partition_filter); + // string name = 2; + void clear_name(); + static const int kNameFieldNumber = 2; + const ::std::string& name() const; + void set_name(const ::std::string& value); + #if LANG_CXX11 + void set_name(::std::string&& value); + #endif + void set_name(const char* value); + void set_name(const char* value, size_t size); + ::std::string* mutable_name(); + ::std::string* release_name(); + void set_allocated_name(::std::string* name); - // .datacatalog.ArtifactPropertyFilter artifact_filter = 3; - bool has_artifact_filter() const; - void clear_artifact_filter(); - static const int kArtifactFilterFieldNumber = 3; - const ::datacatalog::ArtifactPropertyFilter& artifact_filter() const; - ::datacatalog::ArtifactPropertyFilter* release_artifact_filter(); - ::datacatalog::ArtifactPropertyFilter* mutable_artifact_filter(); - void set_allocated_artifact_filter(::datacatalog::ArtifactPropertyFilter* artifact_filter); + // string domain = 3; + void clear_domain(); + static const int kDomainFieldNumber = 3; + 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); - // .datacatalog.DatasetPropertyFilter dataset_filter = 4; - bool has_dataset_filter() const; - void clear_dataset_filter(); - static const int kDatasetFilterFieldNumber = 4; - const ::datacatalog::DatasetPropertyFilter& dataset_filter() const; - ::datacatalog::DatasetPropertyFilter* release_dataset_filter(); - ::datacatalog::DatasetPropertyFilter* mutable_dataset_filter(); - void set_allocated_dataset_filter(::datacatalog::DatasetPropertyFilter* dataset_filter); + // string version = 4; + void clear_version(); + static const int kVersionFieldNumber = 4; + const ::std::string& version() const; + void set_version(const ::std::string& value); + #if LANG_CXX11 + void set_version(::std::string&& value); + #endif + void set_version(const char* value); + void set_version(const char* value, size_t size); + ::std::string* mutable_version(); + ::std::string* release_version(); + void set_allocated_version(::std::string* version); - void clear_property_filter(); - PropertyFilterCase property_filter_case() const; - // @@protoc_insertion_point(class_scope:datacatalog.SinglePropertyFilter) + // string UUID = 5; + void clear_uuid(); + static const int kUUIDFieldNumber = 5; + const ::std::string& uuid() const; + void set_uuid(const ::std::string& value); + #if LANG_CXX11 + void set_uuid(::std::string&& value); + #endif + void set_uuid(const char* value); + void set_uuid(const char* value, size_t size); + ::std::string* mutable_uuid(); + ::std::string* release_uuid(); + void set_allocated_uuid(::std::string* uuid); + + // @@protoc_insertion_point(class_scope:datacatalog.DatasetID) private: class HasBitSetters; - void set_has_tag_filter(); - void set_has_partition_filter(); - void set_has_artifact_filter(); - void set_has_dataset_filter(); - - inline bool has_property_filter() const; - inline void clear_has_property_filter(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - int operator__; - union PropertyFilterUnion { - PropertyFilterUnion() {} - ::datacatalog::TagPropertyFilter* tag_filter_; - ::datacatalog::PartitionPropertyFilter* partition_filter_; - ::datacatalog::ArtifactPropertyFilter* artifact_filter_; - ::datacatalog::DatasetPropertyFilter* dataset_filter_; - } property_filter_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::internal::ArenaStringPtr domain_; + ::google::protobuf::internal::ArenaStringPtr version_; + ::google::protobuf::internal::ArenaStringPtr uuid_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class ArtifactPropertyFilter final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ArtifactPropertyFilter) */ { +class Artifact final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Artifact) */ { public: - ArtifactPropertyFilter(); - virtual ~ArtifactPropertyFilter(); + Artifact(); + virtual ~Artifact(); - ArtifactPropertyFilter(const ArtifactPropertyFilter& from); + Artifact(const Artifact& from); - inline ArtifactPropertyFilter& operator=(const ArtifactPropertyFilter& from) { + inline Artifact& operator=(const Artifact& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - ArtifactPropertyFilter(ArtifactPropertyFilter&& from) noexcept - : ArtifactPropertyFilter() { + Artifact(Artifact&& from) noexcept + : Artifact() { *this = ::std::move(from); } - inline ArtifactPropertyFilter& operator=(ArtifactPropertyFilter&& from) noexcept { + inline Artifact& operator=(Artifact&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -4478,39 +4323,34 @@ class ArtifactPropertyFilter final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const ArtifactPropertyFilter& default_instance(); - - enum PropertyCase { - kArtifactId = 1, - PROPERTY_NOT_SET = 0, - }; + static const Artifact& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const ArtifactPropertyFilter* internal_default_instance() { - return reinterpret_cast( - &_ArtifactPropertyFilter_default_instance_); + static inline const Artifact* internal_default_instance() { + return reinterpret_cast( + &_Artifact_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 31; - void Swap(ArtifactPropertyFilter* other); - friend void swap(ArtifactPropertyFilter& a, ArtifactPropertyFilter& b) { + void Swap(Artifact* other); + friend void swap(Artifact& a, Artifact& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline ArtifactPropertyFilter* New() const final { - return CreateMaybeMessage(nullptr); + inline Artifact* New() const final { + return CreateMaybeMessage(nullptr); } - ArtifactPropertyFilter* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + Artifact* 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 ArtifactPropertyFilter& from); - void MergeFrom(const ArtifactPropertyFilter& from); + void CopyFrom(const Artifact& from); + void MergeFrom(const Artifact& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -4532,7 +4372,7 @@ class ArtifactPropertyFilter final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(ArtifactPropertyFilter* other); + void InternalSwap(Artifact* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -4548,64 +4388,119 @@ class ArtifactPropertyFilter final : // accessors ------------------------------------------------------- - // string artifact_id = 1; - private: - bool has_artifact_id() const; - public: - void clear_artifact_id(); - static const int kArtifactIdFieldNumber = 1; - const ::std::string& artifact_id() const; - void set_artifact_id(const ::std::string& value); + // repeated .datacatalog.ArtifactData data = 3; + int data_size() const; + void clear_data(); + static const int kDataFieldNumber = 3; + ::datacatalog::ArtifactData* mutable_data(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >* + mutable_data(); + const ::datacatalog::ArtifactData& data(int index) const; + ::datacatalog::ArtifactData* add_data(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >& + data() const; + + // repeated .datacatalog.Partition partitions = 5; + int partitions_size() const; + void clear_partitions(); + static const int kPartitionsFieldNumber = 5; + ::datacatalog::Partition* mutable_partitions(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition >* + mutable_partitions(); + const ::datacatalog::Partition& partitions(int index) const; + ::datacatalog::Partition* add_partitions(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition >& + partitions() const; + + // repeated .datacatalog.Tag tags = 6; + int tags_size() const; + void clear_tags(); + static const int kTagsFieldNumber = 6; + ::datacatalog::Tag* mutable_tags(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag >* + mutable_tags(); + const ::datacatalog::Tag& tags(int index) const; + ::datacatalog::Tag* add_tags(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag >& + tags() const; + + // string id = 1; + void clear_id(); + static const int kIdFieldNumber = 1; + const ::std::string& id() const; + void set_id(const ::std::string& value); #if LANG_CXX11 - void set_artifact_id(::std::string&& value); + void set_id(::std::string&& value); #endif - void set_artifact_id(const char* value); - void set_artifact_id(const char* value, size_t size); - ::std::string* mutable_artifact_id(); - ::std::string* release_artifact_id(); - void set_allocated_artifact_id(::std::string* artifact_id); + void set_id(const char* value); + void set_id(const char* value, size_t size); + ::std::string* mutable_id(); + ::std::string* release_id(); + void set_allocated_id(::std::string* id); - void clear_property(); - PropertyCase property_case() const; - // @@protoc_insertion_point(class_scope:datacatalog.ArtifactPropertyFilter) - private: - class HasBitSetters; - void set_has_artifact_id(); + // .datacatalog.DatasetID dataset = 2; + bool has_dataset() const; + void clear_dataset(); + static const int kDatasetFieldNumber = 2; + const ::datacatalog::DatasetID& dataset() const; + ::datacatalog::DatasetID* release_dataset(); + ::datacatalog::DatasetID* mutable_dataset(); + void set_allocated_dataset(::datacatalog::DatasetID* dataset); - inline bool has_property() const; - inline void clear_has_property(); + // .datacatalog.Metadata metadata = 4; + bool has_metadata() const; + void clear_metadata(); + static const int kMetadataFieldNumber = 4; + const ::datacatalog::Metadata& metadata() const; + ::datacatalog::Metadata* release_metadata(); + ::datacatalog::Metadata* mutable_metadata(); + void set_allocated_metadata(::datacatalog::Metadata* metadata); - ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union PropertyUnion { - PropertyUnion() {} - ::google::protobuf::internal::ArenaStringPtr artifact_id_; - } property_; - mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; + // .google.protobuf.Timestamp created_at = 7; + bool has_created_at() const; + void clear_created_at(); + static const int kCreatedAtFieldNumber = 7; + const ::google::protobuf::Timestamp& created_at() const; + ::google::protobuf::Timestamp* release_created_at(); + ::google::protobuf::Timestamp* mutable_created_at(); + void set_allocated_created_at(::google::protobuf::Timestamp* created_at); + + // @@protoc_insertion_point(class_scope:datacatalog.Artifact) + private: + class HasBitSetters; + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData > data_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::Partition > partitions_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::Tag > tags_; + ::google::protobuf::internal::ArenaStringPtr id_; + ::datacatalog::DatasetID* dataset_; + ::datacatalog::Metadata* metadata_; + ::google::protobuf::Timestamp* created_at_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class TagPropertyFilter final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.TagPropertyFilter) */ { +class ArtifactData final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ArtifactData) */ { public: - TagPropertyFilter(); - virtual ~TagPropertyFilter(); + ArtifactData(); + virtual ~ArtifactData(); - TagPropertyFilter(const TagPropertyFilter& from); + ArtifactData(const ArtifactData& from); - inline TagPropertyFilter& operator=(const TagPropertyFilter& from) { + inline ArtifactData& operator=(const ArtifactData& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - TagPropertyFilter(TagPropertyFilter&& from) noexcept - : TagPropertyFilter() { + ArtifactData(ArtifactData&& from) noexcept + : ArtifactData() { *this = ::std::move(from); } - inline TagPropertyFilter& operator=(TagPropertyFilter&& from) noexcept { + inline ArtifactData& operator=(ArtifactData&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -4617,39 +4512,34 @@ class TagPropertyFilter final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const TagPropertyFilter& default_instance(); - - enum PropertyCase { - kTagName = 1, - PROPERTY_NOT_SET = 0, - }; + static const ArtifactData& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const TagPropertyFilter* internal_default_instance() { - return reinterpret_cast( - &_TagPropertyFilter_default_instance_); + static inline const ArtifactData* internal_default_instance() { + return reinterpret_cast( + &_ArtifactData_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 32; - void Swap(TagPropertyFilter* other); - friend void swap(TagPropertyFilter& a, TagPropertyFilter& b) { + void Swap(ArtifactData* other); + friend void swap(ArtifactData& a, ArtifactData& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline TagPropertyFilter* New() const final { - return CreateMaybeMessage(nullptr); + inline ArtifactData* New() const final { + return CreateMaybeMessage(nullptr); } - TagPropertyFilter* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + ArtifactData* 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 TagPropertyFilter& from); - void MergeFrom(const TagPropertyFilter& from); + void CopyFrom(const ArtifactData& from); + void MergeFrom(const ArtifactData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -4671,7 +4561,7 @@ class TagPropertyFilter final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(TagPropertyFilter* other); + void InternalSwap(ArtifactData* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -4687,64 +4577,60 @@ class TagPropertyFilter final : // accessors ------------------------------------------------------- - // string tag_name = 1; - private: - bool has_tag_name() const; - public: - void clear_tag_name(); - static const int kTagNameFieldNumber = 1; - const ::std::string& tag_name() const; - void set_tag_name(const ::std::string& value); + // string name = 1; + void clear_name(); + static const int kNameFieldNumber = 1; + const ::std::string& name() const; + void set_name(const ::std::string& value); #if LANG_CXX11 - void set_tag_name(::std::string&& value); + void set_name(::std::string&& value); #endif - void set_tag_name(const char* value); - void set_tag_name(const char* value, size_t size); - ::std::string* mutable_tag_name(); - ::std::string* release_tag_name(); - void set_allocated_tag_name(::std::string* tag_name); + void set_name(const char* value); + void set_name(const char* value, size_t size); + ::std::string* mutable_name(); + ::std::string* release_name(); + void set_allocated_name(::std::string* name); - void clear_property(); - PropertyCase property_case() const; - // @@protoc_insertion_point(class_scope:datacatalog.TagPropertyFilter) + // .flyteidl.core.Literal value = 2; + bool has_value() const; + void clear_value(); + static const int kValueFieldNumber = 2; + const ::flyteidl::core::Literal& value() const; + ::flyteidl::core::Literal* release_value(); + ::flyteidl::core::Literal* mutable_value(); + void set_allocated_value(::flyteidl::core::Literal* value); + + // @@protoc_insertion_point(class_scope:datacatalog.ArtifactData) private: class HasBitSetters; - void set_has_tag_name(); - - inline bool has_property() const; - inline void clear_has_property(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union PropertyUnion { - PropertyUnion() {} - ::google::protobuf::internal::ArenaStringPtr tag_name_; - } property_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::flyteidl::core::Literal* value_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class PartitionPropertyFilter final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.PartitionPropertyFilter) */ { +class Tag final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Tag) */ { public: - PartitionPropertyFilter(); - virtual ~PartitionPropertyFilter(); + Tag(); + virtual ~Tag(); - PartitionPropertyFilter(const PartitionPropertyFilter& from); + Tag(const Tag& from); - inline PartitionPropertyFilter& operator=(const PartitionPropertyFilter& from) { + inline Tag& operator=(const Tag& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - PartitionPropertyFilter(PartitionPropertyFilter&& from) noexcept - : PartitionPropertyFilter() { + Tag(Tag&& from) noexcept + : Tag() { *this = ::std::move(from); } - inline PartitionPropertyFilter& operator=(PartitionPropertyFilter&& from) noexcept { + inline Tag& operator=(Tag&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -4756,39 +4642,34 @@ class PartitionPropertyFilter final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const PartitionPropertyFilter& default_instance(); - - enum PropertyCase { - kKeyVal = 1, - PROPERTY_NOT_SET = 0, - }; + static const Tag& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PartitionPropertyFilter* internal_default_instance() { - return reinterpret_cast( - &_PartitionPropertyFilter_default_instance_); + static inline const Tag* internal_default_instance() { + return reinterpret_cast( + &_Tag_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 33; - void Swap(PartitionPropertyFilter* other); - friend void swap(PartitionPropertyFilter& a, PartitionPropertyFilter& b) { + void Swap(Tag* other); + friend void swap(Tag& a, Tag& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline PartitionPropertyFilter* New() const final { - return CreateMaybeMessage(nullptr); + inline Tag* New() const final { + return CreateMaybeMessage(nullptr); } - PartitionPropertyFilter* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + Tag* 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 PartitionPropertyFilter& from); - void MergeFrom(const PartitionPropertyFilter& from); + void CopyFrom(const Tag& from); + void MergeFrom(const Tag& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -4810,7 +4691,7 @@ class PartitionPropertyFilter final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(PartitionPropertyFilter* other); + void InternalSwap(Tag* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -4826,56 +4707,99 @@ class PartitionPropertyFilter final : // accessors ------------------------------------------------------- - // .datacatalog.KeyValuePair key_val = 1; - bool has_key_val() const; - void clear_key_val(); - static const int kKeyValFieldNumber = 1; - const ::datacatalog::KeyValuePair& key_val() const; - ::datacatalog::KeyValuePair* release_key_val(); - ::datacatalog::KeyValuePair* mutable_key_val(); - void set_allocated_key_val(::datacatalog::KeyValuePair* key_val); + // string name = 1; + void clear_name(); + static const int kNameFieldNumber = 1; + const ::std::string& name() const; + void set_name(const ::std::string& value); + #if LANG_CXX11 + void set_name(::std::string&& value); + #endif + void set_name(const char* value); + void set_name(const char* value, size_t size); + ::std::string* mutable_name(); + ::std::string* release_name(); + void set_allocated_name(::std::string* name); - void clear_property(); - PropertyCase property_case() const; - // @@protoc_insertion_point(class_scope:datacatalog.PartitionPropertyFilter) + // string artifact_id = 2; + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 2; + const ::std::string& artifact_id() const; + void set_artifact_id(const ::std::string& value); + #if LANG_CXX11 + void set_artifact_id(::std::string&& value); + #endif + void set_artifact_id(const char* value); + void set_artifact_id(const char* value, size_t size); + ::std::string* mutable_artifact_id(); + ::std::string* release_artifact_id(); + void set_allocated_artifact_id(::std::string* artifact_id); + + // .datacatalog.DatasetID dataset = 3; + bool has_dataset() const; + void clear_dataset(); + static const int kDatasetFieldNumber = 3; + const ::datacatalog::DatasetID& dataset() const; + ::datacatalog::DatasetID* release_dataset(); + ::datacatalog::DatasetID* mutable_dataset(); + void set_allocated_dataset(::datacatalog::DatasetID* dataset); + + // @@protoc_insertion_point(class_scope:datacatalog.Tag) private: class HasBitSetters; - void set_has_key_val(); - - inline bool has_property() const; - inline void clear_has_property(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union PropertyUnion { - PropertyUnion() {} - ::datacatalog::KeyValuePair* key_val_; - } property_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::internal::ArenaStringPtr artifact_id_; + ::datacatalog::DatasetID* dataset_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class KeyValuePair final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.KeyValuePair) */ { - public: - KeyValuePair(); - virtual ~KeyValuePair(); - - KeyValuePair(const KeyValuePair& from); - - inline KeyValuePair& operator=(const KeyValuePair& from) { - CopyFrom(from); - return *this; - } - #if LANG_CXX11 - KeyValuePair(KeyValuePair&& from) noexcept - : KeyValuePair() { - *this = ::std::move(from); - } - - inline KeyValuePair& operator=(KeyValuePair&& from) noexcept { +class Metadata_KeyMapEntry_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; + Metadata_KeyMapEntry_DoNotUse(); + Metadata_KeyMapEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const Metadata_KeyMapEntry_DoNotUse& other); + static const Metadata_KeyMapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Metadata_KeyMapEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class Metadata final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.Metadata) */ { + public: + Metadata(); + virtual ~Metadata(); + + Metadata(const Metadata& from); + + inline Metadata& operator=(const Metadata& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Metadata(Metadata&& from) noexcept + : Metadata() { + *this = ::std::move(from); + } + + inline Metadata& operator=(Metadata&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -4887,34 +4811,34 @@ class KeyValuePair final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const KeyValuePair& default_instance(); + static const Metadata& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const KeyValuePair* internal_default_instance() { - return reinterpret_cast( - &_KeyValuePair_default_instance_); + static inline const Metadata* internal_default_instance() { + return reinterpret_cast( + &_Metadata_default_instance_); } static constexpr int kIndexInFileMessages = 35; - void Swap(KeyValuePair* other); - friend void swap(KeyValuePair& a, KeyValuePair& b) { + void Swap(Metadata* other); + friend void swap(Metadata& a, Metadata& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline KeyValuePair* New() const final { - return CreateMaybeMessage(nullptr); + inline Metadata* New() const final { + return CreateMaybeMessage(nullptr); } - KeyValuePair* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + Metadata* 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 KeyValuePair& from); - void MergeFrom(const KeyValuePair& from); + void CopyFrom(const Metadata& from); + void MergeFrom(const Metadata& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -4936,7 +4860,7 @@ class KeyValuePair final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(KeyValuePair* other); + void InternalSwap(Metadata* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -4950,67 +4874,53 @@ class KeyValuePair final : // nested types ---------------------------------------------------- - // accessors ------------------------------------------------------- - // string key = 1; - void clear_key(); - static const int kKeyFieldNumber = 1; - const ::std::string& key() const; - void set_key(const ::std::string& value); - #if LANG_CXX11 - void set_key(::std::string&& value); - #endif - void set_key(const char* value); - void set_key(const char* value, size_t size); - ::std::string* mutable_key(); - ::std::string* release_key(); - void set_allocated_key(::std::string* key); + // accessors ------------------------------------------------------- - // string value = 2; - void clear_value(); - static const int kValueFieldNumber = 2; - const ::std::string& value() const; - void set_value(const ::std::string& value); - #if LANG_CXX11 - void set_value(::std::string&& value); - #endif - void set_value(const char* value); - void set_value(const char* value, size_t size); - ::std::string* mutable_value(); - ::std::string* release_value(); - void set_allocated_value(::std::string* value); + // map key_map = 1; + int key_map_size() const; + void clear_key_map(); + static const int kKeyMapFieldNumber = 1; + const ::google::protobuf::Map< ::std::string, ::std::string >& + key_map() const; + ::google::protobuf::Map< ::std::string, ::std::string >* + mutable_key_map(); - // @@protoc_insertion_point(class_scope:datacatalog.KeyValuePair) + // @@protoc_insertion_point(class_scope:datacatalog.Metadata) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr key_; - ::google::protobuf::internal::ArenaStringPtr value_; + ::google::protobuf::internal::MapField< + Metadata_KeyMapEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 > key_map_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class DatasetPropertyFilter final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DatasetPropertyFilter) */ { +class FilterExpression final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.FilterExpression) */ { public: - DatasetPropertyFilter(); - virtual ~DatasetPropertyFilter(); + FilterExpression(); + virtual ~FilterExpression(); - DatasetPropertyFilter(const DatasetPropertyFilter& from); + FilterExpression(const FilterExpression& from); - inline DatasetPropertyFilter& operator=(const DatasetPropertyFilter& from) { + inline FilterExpression& operator=(const FilterExpression& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - DatasetPropertyFilter(DatasetPropertyFilter&& from) noexcept - : DatasetPropertyFilter() { + FilterExpression(FilterExpression&& from) noexcept + : FilterExpression() { *this = ::std::move(from); } - inline DatasetPropertyFilter& operator=(DatasetPropertyFilter&& from) noexcept { + inline FilterExpression& operator=(FilterExpression&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -5022,42 +4932,34 @@ class DatasetPropertyFilter final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const DatasetPropertyFilter& default_instance(); - - enum PropertyCase { - kProject = 1, - kName = 2, - kDomain = 3, - kVersion = 4, - PROPERTY_NOT_SET = 0, - }; + static const FilterExpression& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DatasetPropertyFilter* internal_default_instance() { - return reinterpret_cast( - &_DatasetPropertyFilter_default_instance_); + static inline const FilterExpression* internal_default_instance() { + return reinterpret_cast( + &_FilterExpression_default_instance_); } static constexpr int kIndexInFileMessages = 36; - void Swap(DatasetPropertyFilter* other); - friend void swap(DatasetPropertyFilter& a, DatasetPropertyFilter& b) { + void Swap(FilterExpression* other); + friend void swap(FilterExpression& a, FilterExpression& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline DatasetPropertyFilter* New() const final { - return CreateMaybeMessage(nullptr); + inline FilterExpression* New() const final { + return CreateMaybeMessage(nullptr); } - DatasetPropertyFilter* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + FilterExpression* 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 DatasetPropertyFilter& from); - void MergeFrom(const DatasetPropertyFilter& from); + void CopyFrom(const FilterExpression& from); + void MergeFrom(const FilterExpression& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -5079,7 +4981,7 @@ class DatasetPropertyFilter final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DatasetPropertyFilter* other); + void InternalSwap(FilterExpression* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -5095,121 +4997,48 @@ class DatasetPropertyFilter final : // accessors ------------------------------------------------------- - // string project = 1; - private: - bool has_project() const; - public: - 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 name = 2; - private: - bool has_name() const; - public: - void clear_name(); - static const int kNameFieldNumber = 2; - const ::std::string& name() const; - void set_name(const ::std::string& value); - #if LANG_CXX11 - void set_name(::std::string&& value); - #endif - void set_name(const char* value); - void set_name(const char* value, size_t size); - ::std::string* mutable_name(); - ::std::string* release_name(); - void set_allocated_name(::std::string* name); - - // string domain = 3; - private: - bool has_domain() const; - public: - void clear_domain(); - static const int kDomainFieldNumber = 3; - 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 version = 4; - private: - bool has_version() const; - public: - void clear_version(); - static const int kVersionFieldNumber = 4; - const ::std::string& version() const; - void set_version(const ::std::string& value); - #if LANG_CXX11 - void set_version(::std::string&& value); - #endif - void set_version(const char* value); - void set_version(const char* value, size_t size); - ::std::string* mutable_version(); - ::std::string* release_version(); - void set_allocated_version(::std::string* version); + // repeated .datacatalog.SinglePropertyFilter filters = 1; + int filters_size() const; + void clear_filters(); + static const int kFiltersFieldNumber = 1; + ::datacatalog::SinglePropertyFilter* mutable_filters(int index); + ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter >* + mutable_filters(); + const ::datacatalog::SinglePropertyFilter& filters(int index) const; + ::datacatalog::SinglePropertyFilter* add_filters(); + const ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter >& + filters() const; - void clear_property(); - PropertyCase property_case() const; - // @@protoc_insertion_point(class_scope:datacatalog.DatasetPropertyFilter) + // @@protoc_insertion_point(class_scope:datacatalog.FilterExpression) private: class HasBitSetters; - void set_has_project(); - void set_has_name(); - void set_has_domain(); - void set_has_version(); - - inline bool has_property() const; - inline void clear_has_property(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - union PropertyUnion { - PropertyUnion() {} - ::google::protobuf::internal::ArenaStringPtr project_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::google::protobuf::internal::ArenaStringPtr domain_; - ::google::protobuf::internal::ArenaStringPtr version_; - } property_; + ::google::protobuf::RepeatedPtrField< ::datacatalog::SinglePropertyFilter > filters_; mutable ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::uint32 _oneof_case_[1]; - friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; // ------------------------------------------------------------------- -class PaginationOptions final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.PaginationOptions) */ { +class SinglePropertyFilter final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.SinglePropertyFilter) */ { public: - PaginationOptions(); - virtual ~PaginationOptions(); + SinglePropertyFilter(); + virtual ~SinglePropertyFilter(); - PaginationOptions(const PaginationOptions& from); + SinglePropertyFilter(const SinglePropertyFilter& from); - inline PaginationOptions& operator=(const PaginationOptions& from) { + inline SinglePropertyFilter& operator=(const SinglePropertyFilter& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - PaginationOptions(PaginationOptions&& from) noexcept - : PaginationOptions() { + SinglePropertyFilter(SinglePropertyFilter&& from) noexcept + : SinglePropertyFilter() { *this = ::std::move(from); } - inline PaginationOptions& operator=(PaginationOptions&& from) noexcept { + inline SinglePropertyFilter& operator=(SinglePropertyFilter&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -5221,34 +5050,42 @@ class PaginationOptions final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const PaginationOptions& default_instance(); + static const SinglePropertyFilter& default_instance(); + + enum PropertyFilterCase { + kTagFilter = 1, + kPartitionFilter = 2, + kArtifactFilter = 3, + kDatasetFilter = 4, + PROPERTY_FILTER_NOT_SET = 0, + }; static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const PaginationOptions* internal_default_instance() { - return reinterpret_cast( - &_PaginationOptions_default_instance_); + static inline const SinglePropertyFilter* internal_default_instance() { + return reinterpret_cast( + &_SinglePropertyFilter_default_instance_); } static constexpr int kIndexInFileMessages = 37; - void Swap(PaginationOptions* other); - friend void swap(PaginationOptions& a, PaginationOptions& b) { + void Swap(SinglePropertyFilter* other); + friend void swap(SinglePropertyFilter& a, SinglePropertyFilter& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline PaginationOptions* New() const final { - return CreateMaybeMessage(nullptr); + inline SinglePropertyFilter* New() const final { + return CreateMaybeMessage(nullptr); } - PaginationOptions* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + SinglePropertyFilter* 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 PaginationOptions& from); - void MergeFrom(const PaginationOptions& from); + void CopyFrom(const SinglePropertyFilter& from); + void MergeFrom(const SinglePropertyFilter& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -5270,7 +5107,7 @@ class PaginationOptions final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(PaginationOptions* other); + void InternalSwap(SinglePropertyFilter* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -5284,124 +5121,1057 @@ class PaginationOptions final : // nested types ---------------------------------------------------- - typedef PaginationOptions_SortOrder SortOrder; - static const SortOrder DESCENDING = - PaginationOptions_SortOrder_DESCENDING; - static const SortOrder ASCENDING = - PaginationOptions_SortOrder_ASCENDING; - static inline bool SortOrder_IsValid(int value) { - return PaginationOptions_SortOrder_IsValid(value); - } - static const SortOrder SortOrder_MIN = - PaginationOptions_SortOrder_SortOrder_MIN; - static const SortOrder SortOrder_MAX = - PaginationOptions_SortOrder_SortOrder_MAX; - static const int SortOrder_ARRAYSIZE = - PaginationOptions_SortOrder_SortOrder_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* - SortOrder_descriptor() { - return PaginationOptions_SortOrder_descriptor(); - } - static inline const ::std::string& SortOrder_Name(SortOrder value) { - return PaginationOptions_SortOrder_Name(value); - } - static inline bool SortOrder_Parse(const ::std::string& name, - SortOrder* value) { - return PaginationOptions_SortOrder_Parse(name, value); - } - - typedef PaginationOptions_SortKey SortKey; - static const SortKey CREATION_TIME = - PaginationOptions_SortKey_CREATION_TIME; - static inline bool SortKey_IsValid(int value) { - return PaginationOptions_SortKey_IsValid(value); + typedef SinglePropertyFilter_ComparisonOperator ComparisonOperator; + static const ComparisonOperator EQUALS = + SinglePropertyFilter_ComparisonOperator_EQUALS; + static inline bool ComparisonOperator_IsValid(int value) { + return SinglePropertyFilter_ComparisonOperator_IsValid(value); } - static const SortKey SortKey_MIN = - PaginationOptions_SortKey_SortKey_MIN; - static const SortKey SortKey_MAX = - PaginationOptions_SortKey_SortKey_MAX; - static const int SortKey_ARRAYSIZE = - PaginationOptions_SortKey_SortKey_ARRAYSIZE; + static const ComparisonOperator ComparisonOperator_MIN = + SinglePropertyFilter_ComparisonOperator_ComparisonOperator_MIN; + static const ComparisonOperator ComparisonOperator_MAX = + SinglePropertyFilter_ComparisonOperator_ComparisonOperator_MAX; + static const int ComparisonOperator_ARRAYSIZE = + SinglePropertyFilter_ComparisonOperator_ComparisonOperator_ARRAYSIZE; static inline const ::google::protobuf::EnumDescriptor* - SortKey_descriptor() { - return PaginationOptions_SortKey_descriptor(); + ComparisonOperator_descriptor() { + return SinglePropertyFilter_ComparisonOperator_descriptor(); } - static inline const ::std::string& SortKey_Name(SortKey value) { - return PaginationOptions_SortKey_Name(value); + static inline const ::std::string& ComparisonOperator_Name(ComparisonOperator value) { + return SinglePropertyFilter_ComparisonOperator_Name(value); } - static inline bool SortKey_Parse(const ::std::string& name, - SortKey* value) { - return PaginationOptions_SortKey_Parse(name, value); + static inline bool ComparisonOperator_Parse(const ::std::string& name, + ComparisonOperator* value) { + return SinglePropertyFilter_ComparisonOperator_Parse(name, value); } // accessors ------------------------------------------------------- - // string token = 2; - void clear_token(); - static const int kTokenFieldNumber = 2; - const ::std::string& token() const; - void set_token(const ::std::string& value); - #if LANG_CXX11 - void set_token(::std::string&& value); - #endif - void set_token(const char* value); - void set_token(const char* value, size_t size); - ::std::string* mutable_token(); - ::std::string* release_token(); - void set_allocated_token(::std::string* token); + // .datacatalog.SinglePropertyFilter.ComparisonOperator operator = 10; + void clear_operator_(); + static const int kOperatorFieldNumber = 10; + ::datacatalog::SinglePropertyFilter_ComparisonOperator operator_() const; + void set_operator_(::datacatalog::SinglePropertyFilter_ComparisonOperator value); - // uint32 limit = 1; - void clear_limit(); - static const int kLimitFieldNumber = 1; - ::google::protobuf::uint32 limit() const; - void set_limit(::google::protobuf::uint32 value); + // .datacatalog.TagPropertyFilter tag_filter = 1; + bool has_tag_filter() const; + void clear_tag_filter(); + static const int kTagFilterFieldNumber = 1; + const ::datacatalog::TagPropertyFilter& tag_filter() const; + ::datacatalog::TagPropertyFilter* release_tag_filter(); + ::datacatalog::TagPropertyFilter* mutable_tag_filter(); + void set_allocated_tag_filter(::datacatalog::TagPropertyFilter* tag_filter); - // .datacatalog.PaginationOptions.SortKey sortKey = 3; - void clear_sortkey(); - static const int kSortKeyFieldNumber = 3; - ::datacatalog::PaginationOptions_SortKey sortkey() const; - void set_sortkey(::datacatalog::PaginationOptions_SortKey value); + // .datacatalog.PartitionPropertyFilter partition_filter = 2; + bool has_partition_filter() const; + void clear_partition_filter(); + static const int kPartitionFilterFieldNumber = 2; + const ::datacatalog::PartitionPropertyFilter& partition_filter() const; + ::datacatalog::PartitionPropertyFilter* release_partition_filter(); + ::datacatalog::PartitionPropertyFilter* mutable_partition_filter(); + void set_allocated_partition_filter(::datacatalog::PartitionPropertyFilter* partition_filter); - // .datacatalog.PaginationOptions.SortOrder sortOrder = 4; - void clear_sortorder(); - static const int kSortOrderFieldNumber = 4; - ::datacatalog::PaginationOptions_SortOrder sortorder() const; - void set_sortorder(::datacatalog::PaginationOptions_SortOrder value); + // .datacatalog.ArtifactPropertyFilter artifact_filter = 3; + bool has_artifact_filter() const; + void clear_artifact_filter(); + static const int kArtifactFilterFieldNumber = 3; + const ::datacatalog::ArtifactPropertyFilter& artifact_filter() const; + ::datacatalog::ArtifactPropertyFilter* release_artifact_filter(); + ::datacatalog::ArtifactPropertyFilter* mutable_artifact_filter(); + void set_allocated_artifact_filter(::datacatalog::ArtifactPropertyFilter* artifact_filter); - // @@protoc_insertion_point(class_scope:datacatalog.PaginationOptions) + // .datacatalog.DatasetPropertyFilter dataset_filter = 4; + bool has_dataset_filter() const; + void clear_dataset_filter(); + static const int kDatasetFilterFieldNumber = 4; + const ::datacatalog::DatasetPropertyFilter& dataset_filter() const; + ::datacatalog::DatasetPropertyFilter* release_dataset_filter(); + ::datacatalog::DatasetPropertyFilter* mutable_dataset_filter(); + void set_allocated_dataset_filter(::datacatalog::DatasetPropertyFilter* dataset_filter); + + void clear_property_filter(); + PropertyFilterCase property_filter_case() const; + // @@protoc_insertion_point(class_scope:datacatalog.SinglePropertyFilter) private: class HasBitSetters; + void set_has_tag_filter(); + void set_has_partition_filter(); + void set_has_artifact_filter(); + void set_has_dataset_filter(); + + inline bool has_property_filter() const; + inline void clear_has_property_filter(); ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::ArenaStringPtr token_; - ::google::protobuf::uint32 limit_; - int sortkey_; - int sortorder_; + int operator__; + union PropertyFilterUnion { + PropertyFilterUnion() {} + ::datacatalog::TagPropertyFilter* tag_filter_; + ::datacatalog::PartitionPropertyFilter* partition_filter_; + ::datacatalog::ArtifactPropertyFilter* artifact_filter_; + ::datacatalog::DatasetPropertyFilter* dataset_filter_; + } property_filter_; mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; }; -// =================================================================== +// ------------------------------------------------------------------- +class ArtifactPropertyFilter final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.ArtifactPropertyFilter) */ { + public: + ArtifactPropertyFilter(); + virtual ~ArtifactPropertyFilter(); -// =================================================================== + ArtifactPropertyFilter(const ArtifactPropertyFilter& from); -#ifdef __GNUC__ - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// CreateDatasetRequest + inline ArtifactPropertyFilter& operator=(const ArtifactPropertyFilter& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactPropertyFilter(ArtifactPropertyFilter&& from) noexcept + : ArtifactPropertyFilter() { + *this = ::std::move(from); + } -// .datacatalog.Dataset dataset = 1; -inline bool CreateDatasetRequest::has_dataset() const { - return this != internal_default_instance() && dataset_ != nullptr; -} -inline void CreateDatasetRequest::clear_dataset() { - if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { - delete dataset_; + inline ArtifactPropertyFilter& operator=(ArtifactPropertyFilter&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; } - dataset_ = nullptr; -} -inline const ::datacatalog::Dataset& CreateDatasetRequest::dataset() const { + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactPropertyFilter& default_instance(); + + enum PropertyCase { + kArtifactId = 1, + PROPERTY_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactPropertyFilter* internal_default_instance() { + return reinterpret_cast( + &_ArtifactPropertyFilter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + void Swap(ArtifactPropertyFilter* other); + friend void swap(ArtifactPropertyFilter& a, ArtifactPropertyFilter& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactPropertyFilter* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactPropertyFilter* 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 ArtifactPropertyFilter& from); + void MergeFrom(const ArtifactPropertyFilter& 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(ArtifactPropertyFilter* 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 artifact_id = 1; + private: + bool has_artifact_id() const; + public: + void clear_artifact_id(); + static const int kArtifactIdFieldNumber = 1; + const ::std::string& artifact_id() const; + void set_artifact_id(const ::std::string& value); + #if LANG_CXX11 + void set_artifact_id(::std::string&& value); + #endif + void set_artifact_id(const char* value); + void set_artifact_id(const char* value, size_t size); + ::std::string* mutable_artifact_id(); + ::std::string* release_artifact_id(); + void set_allocated_artifact_id(::std::string* artifact_id); + + void clear_property(); + PropertyCase property_case() const; + // @@protoc_insertion_point(class_scope:datacatalog.ArtifactPropertyFilter) + private: + class HasBitSetters; + void set_has_artifact_id(); + + inline bool has_property() const; + inline void clear_has_property(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union PropertyUnion { + PropertyUnion() {} + ::google::protobuf::internal::ArenaStringPtr artifact_id_; + } property_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +}; +// ------------------------------------------------------------------- + +class TagPropertyFilter final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.TagPropertyFilter) */ { + public: + TagPropertyFilter(); + virtual ~TagPropertyFilter(); + + TagPropertyFilter(const TagPropertyFilter& from); + + inline TagPropertyFilter& operator=(const TagPropertyFilter& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TagPropertyFilter(TagPropertyFilter&& from) noexcept + : TagPropertyFilter() { + *this = ::std::move(from); + } + + inline TagPropertyFilter& operator=(TagPropertyFilter&& 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 TagPropertyFilter& default_instance(); + + enum PropertyCase { + kTagName = 1, + PROPERTY_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TagPropertyFilter* internal_default_instance() { + return reinterpret_cast( + &_TagPropertyFilter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + void Swap(TagPropertyFilter* other); + friend void swap(TagPropertyFilter& a, TagPropertyFilter& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TagPropertyFilter* New() const final { + return CreateMaybeMessage(nullptr); + } + + TagPropertyFilter* 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 TagPropertyFilter& from); + void MergeFrom(const TagPropertyFilter& 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(TagPropertyFilter* 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 tag_name = 1; + private: + bool has_tag_name() const; + public: + void clear_tag_name(); + static const int kTagNameFieldNumber = 1; + const ::std::string& tag_name() const; + void set_tag_name(const ::std::string& value); + #if LANG_CXX11 + void set_tag_name(::std::string&& value); + #endif + void set_tag_name(const char* value); + void set_tag_name(const char* value, size_t size); + ::std::string* mutable_tag_name(); + ::std::string* release_tag_name(); + void set_allocated_tag_name(::std::string* tag_name); + + void clear_property(); + PropertyCase property_case() const; + // @@protoc_insertion_point(class_scope:datacatalog.TagPropertyFilter) + private: + class HasBitSetters; + void set_has_tag_name(); + + inline bool has_property() const; + inline void clear_has_property(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union PropertyUnion { + PropertyUnion() {} + ::google::protobuf::internal::ArenaStringPtr tag_name_; + } property_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +}; +// ------------------------------------------------------------------- + +class PartitionPropertyFilter final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.PartitionPropertyFilter) */ { + public: + PartitionPropertyFilter(); + virtual ~PartitionPropertyFilter(); + + PartitionPropertyFilter(const PartitionPropertyFilter& from); + + inline PartitionPropertyFilter& operator=(const PartitionPropertyFilter& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + PartitionPropertyFilter(PartitionPropertyFilter&& from) noexcept + : PartitionPropertyFilter() { + *this = ::std::move(from); + } + + inline PartitionPropertyFilter& operator=(PartitionPropertyFilter&& 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 PartitionPropertyFilter& default_instance(); + + enum PropertyCase { + kKeyVal = 1, + PROPERTY_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const PartitionPropertyFilter* internal_default_instance() { + return reinterpret_cast( + &_PartitionPropertyFilter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + void Swap(PartitionPropertyFilter* other); + friend void swap(PartitionPropertyFilter& a, PartitionPropertyFilter& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline PartitionPropertyFilter* New() const final { + return CreateMaybeMessage(nullptr); + } + + PartitionPropertyFilter* 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 PartitionPropertyFilter& from); + void MergeFrom(const PartitionPropertyFilter& 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(PartitionPropertyFilter* 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 ------------------------------------------------------- + + // .datacatalog.KeyValuePair key_val = 1; + bool has_key_val() const; + void clear_key_val(); + static const int kKeyValFieldNumber = 1; + const ::datacatalog::KeyValuePair& key_val() const; + ::datacatalog::KeyValuePair* release_key_val(); + ::datacatalog::KeyValuePair* mutable_key_val(); + void set_allocated_key_val(::datacatalog::KeyValuePair* key_val); + + void clear_property(); + PropertyCase property_case() const; + // @@protoc_insertion_point(class_scope:datacatalog.PartitionPropertyFilter) + private: + class HasBitSetters; + void set_has_key_val(); + + inline bool has_property() const; + inline void clear_has_property(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union PropertyUnion { + PropertyUnion() {} + ::datacatalog::KeyValuePair* key_val_; + } property_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +}; +// ------------------------------------------------------------------- + +class KeyValuePair final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.KeyValuePair) */ { + public: + KeyValuePair(); + virtual ~KeyValuePair(); + + KeyValuePair(const KeyValuePair& from); + + inline KeyValuePair& operator=(const KeyValuePair& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + KeyValuePair(KeyValuePair&& from) noexcept + : KeyValuePair() { + *this = ::std::move(from); + } + + inline KeyValuePair& operator=(KeyValuePair&& 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 KeyValuePair& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const KeyValuePair* internal_default_instance() { + return reinterpret_cast( + &_KeyValuePair_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + void Swap(KeyValuePair* other); + friend void swap(KeyValuePair& a, KeyValuePair& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline KeyValuePair* New() const final { + return CreateMaybeMessage(nullptr); + } + + KeyValuePair* 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 KeyValuePair& from); + void MergeFrom(const KeyValuePair& 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(KeyValuePair* 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 key = 1; + void clear_key(); + static const int kKeyFieldNumber = 1; + const ::std::string& key() const; + void set_key(const ::std::string& value); + #if LANG_CXX11 + void set_key(::std::string&& value); + #endif + void set_key(const char* value); + void set_key(const char* value, size_t size); + ::std::string* mutable_key(); + ::std::string* release_key(); + void set_allocated_key(::std::string* key); + + // string value = 2; + void clear_value(); + static const int kValueFieldNumber = 2; + const ::std::string& value() const; + void set_value(const ::std::string& value); + #if LANG_CXX11 + void set_value(::std::string&& value); + #endif + void set_value(const char* value); + void set_value(const char* value, size_t size); + ::std::string* mutable_value(); + ::std::string* release_value(); + void set_allocated_value(::std::string* value); + + // @@protoc_insertion_point(class_scope:datacatalog.KeyValuePair) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::internal::ArenaStringPtr value_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +}; +// ------------------------------------------------------------------- + +class DatasetPropertyFilter final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.DatasetPropertyFilter) */ { + public: + DatasetPropertyFilter(); + virtual ~DatasetPropertyFilter(); + + DatasetPropertyFilter(const DatasetPropertyFilter& from); + + inline DatasetPropertyFilter& operator=(const DatasetPropertyFilter& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DatasetPropertyFilter(DatasetPropertyFilter&& from) noexcept + : DatasetPropertyFilter() { + *this = ::std::move(from); + } + + inline DatasetPropertyFilter& operator=(DatasetPropertyFilter&& 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 DatasetPropertyFilter& default_instance(); + + enum PropertyCase { + kProject = 1, + kName = 2, + kDomain = 3, + kVersion = 4, + PROPERTY_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DatasetPropertyFilter* internal_default_instance() { + return reinterpret_cast( + &_DatasetPropertyFilter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + void Swap(DatasetPropertyFilter* other); + friend void swap(DatasetPropertyFilter& a, DatasetPropertyFilter& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DatasetPropertyFilter* New() const final { + return CreateMaybeMessage(nullptr); + } + + DatasetPropertyFilter* 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 DatasetPropertyFilter& from); + void MergeFrom(const DatasetPropertyFilter& 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(DatasetPropertyFilter* 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; + private: + bool has_project() const; + public: + 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 name = 2; + private: + bool has_name() const; + public: + void clear_name(); + static const int kNameFieldNumber = 2; + const ::std::string& name() const; + void set_name(const ::std::string& value); + #if LANG_CXX11 + void set_name(::std::string&& value); + #endif + void set_name(const char* value); + void set_name(const char* value, size_t size); + ::std::string* mutable_name(); + ::std::string* release_name(); + void set_allocated_name(::std::string* name); + + // string domain = 3; + private: + bool has_domain() const; + public: + void clear_domain(); + static const int kDomainFieldNumber = 3; + 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 version = 4; + private: + bool has_version() const; + public: + void clear_version(); + static const int kVersionFieldNumber = 4; + const ::std::string& version() const; + void set_version(const ::std::string& value); + #if LANG_CXX11 + void set_version(::std::string&& value); + #endif + void set_version(const char* value); + void set_version(const char* value, size_t size); + ::std::string* mutable_version(); + ::std::string* release_version(); + void set_allocated_version(::std::string* version); + + void clear_property(); + PropertyCase property_case() const; + // @@protoc_insertion_point(class_scope:datacatalog.DatasetPropertyFilter) + private: + class HasBitSetters; + void set_has_project(); + void set_has_name(); + void set_has_domain(); + void set_has_version(); + + inline bool has_property() const; + inline void clear_has_property(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union PropertyUnion { + PropertyUnion() {} + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::internal::ArenaStringPtr domain_; + ::google::protobuf::internal::ArenaStringPtr version_; + } property_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +}; +// ------------------------------------------------------------------- + +class PaginationOptions final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:datacatalog.PaginationOptions) */ { + public: + PaginationOptions(); + virtual ~PaginationOptions(); + + PaginationOptions(const PaginationOptions& from); + + inline PaginationOptions& operator=(const PaginationOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + PaginationOptions(PaginationOptions&& from) noexcept + : PaginationOptions() { + *this = ::std::move(from); + } + + inline PaginationOptions& operator=(PaginationOptions&& 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 PaginationOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const PaginationOptions* internal_default_instance() { + return reinterpret_cast( + &_PaginationOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + void Swap(PaginationOptions* other); + friend void swap(PaginationOptions& a, PaginationOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline PaginationOptions* New() const final { + return CreateMaybeMessage(nullptr); + } + + PaginationOptions* 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 PaginationOptions& from); + void MergeFrom(const PaginationOptions& 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(PaginationOptions* 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 ---------------------------------------------------- + + typedef PaginationOptions_SortOrder SortOrder; + static const SortOrder DESCENDING = + PaginationOptions_SortOrder_DESCENDING; + static const SortOrder ASCENDING = + PaginationOptions_SortOrder_ASCENDING; + static inline bool SortOrder_IsValid(int value) { + return PaginationOptions_SortOrder_IsValid(value); + } + static const SortOrder SortOrder_MIN = + PaginationOptions_SortOrder_SortOrder_MIN; + static const SortOrder SortOrder_MAX = + PaginationOptions_SortOrder_SortOrder_MAX; + static const int SortOrder_ARRAYSIZE = + PaginationOptions_SortOrder_SortOrder_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + SortOrder_descriptor() { + return PaginationOptions_SortOrder_descriptor(); + } + static inline const ::std::string& SortOrder_Name(SortOrder value) { + return PaginationOptions_SortOrder_Name(value); + } + static inline bool SortOrder_Parse(const ::std::string& name, + SortOrder* value) { + return PaginationOptions_SortOrder_Parse(name, value); + } + + typedef PaginationOptions_SortKey SortKey; + static const SortKey CREATION_TIME = + PaginationOptions_SortKey_CREATION_TIME; + static inline bool SortKey_IsValid(int value) { + return PaginationOptions_SortKey_IsValid(value); + } + static const SortKey SortKey_MIN = + PaginationOptions_SortKey_SortKey_MIN; + static const SortKey SortKey_MAX = + PaginationOptions_SortKey_SortKey_MAX; + static const int SortKey_ARRAYSIZE = + PaginationOptions_SortKey_SortKey_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + SortKey_descriptor() { + return PaginationOptions_SortKey_descriptor(); + } + static inline const ::std::string& SortKey_Name(SortKey value) { + return PaginationOptions_SortKey_Name(value); + } + static inline bool SortKey_Parse(const ::std::string& name, + SortKey* value) { + return PaginationOptions_SortKey_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // string token = 2; + void clear_token(); + static const int kTokenFieldNumber = 2; + const ::std::string& token() const; + void set_token(const ::std::string& value); + #if LANG_CXX11 + void set_token(::std::string&& value); + #endif + void set_token(const char* value); + void set_token(const char* value, size_t size); + ::std::string* mutable_token(); + ::std::string* release_token(); + void set_allocated_token(::std::string* token); + + // uint32 limit = 1; + void clear_limit(); + static const int kLimitFieldNumber = 1; + ::google::protobuf::uint32 limit() const; + void set_limit(::google::protobuf::uint32 value); + + // .datacatalog.PaginationOptions.SortKey sortKey = 3; + void clear_sortkey(); + static const int kSortKeyFieldNumber = 3; + ::datacatalog::PaginationOptions_SortKey sortkey() const; + void set_sortkey(::datacatalog::PaginationOptions_SortKey value); + + // .datacatalog.PaginationOptions.SortOrder sortOrder = 4; + void clear_sortorder(); + static const int kSortOrderFieldNumber = 4; + ::datacatalog::PaginationOptions_SortOrder sortorder() const; + void set_sortorder(::datacatalog::PaginationOptions_SortOrder value); + + // @@protoc_insertion_point(class_scope:datacatalog.PaginationOptions) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr token_; + ::google::protobuf::uint32 limit_; + int sortkey_; + int sortorder_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fdatacatalog_2fdatacatalog_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// CreateDatasetRequest + +// .datacatalog.Dataset dataset = 1; +inline bool CreateDatasetRequest::has_dataset() const { + return this != internal_default_instance() && dataset_ != nullptr; +} +inline void CreateDatasetRequest::clear_dataset() { + if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { + delete dataset_; + } + dataset_ = nullptr; +} +inline const ::datacatalog::Dataset& CreateDatasetRequest::dataset() const { const ::datacatalog::Dataset* p = dataset_; // @@protoc_insertion_point(field_get:datacatalog.CreateDatasetRequest.dataset) return p != nullptr ? *p : *reinterpret_cast( @@ -6028,43 +6798,236 @@ inline void ListArtifactsRequest::set_allocated_dataset(::datacatalog::DatasetID } else { } - dataset_ = dataset; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsRequest.dataset) + dataset_ = dataset; + // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsRequest.dataset) +} + +// .datacatalog.FilterExpression filter = 2; +inline bool ListArtifactsRequest::has_filter() const { + return this != internal_default_instance() && filter_ != nullptr; +} +inline void ListArtifactsRequest::clear_filter() { + if (GetArenaNoVirtual() == nullptr && filter_ != nullptr) { + delete filter_; + } + filter_ = nullptr; +} +inline const ::datacatalog::FilterExpression& ListArtifactsRequest::filter() const { + const ::datacatalog::FilterExpression* p = filter_; + // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsRequest.filter) + return p != nullptr ? *p : *reinterpret_cast( + &::datacatalog::_FilterExpression_default_instance_); +} +inline ::datacatalog::FilterExpression* ListArtifactsRequest::release_filter() { + // @@protoc_insertion_point(field_release:datacatalog.ListArtifactsRequest.filter) + + ::datacatalog::FilterExpression* temp = filter_; + filter_ = nullptr; + return temp; +} +inline ::datacatalog::FilterExpression* ListArtifactsRequest::mutable_filter() { + + if (filter_ == nullptr) { + auto* p = CreateMaybeMessage<::datacatalog::FilterExpression>(GetArenaNoVirtual()); + filter_ = p; + } + // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsRequest.filter) + return filter_; +} +inline void ListArtifactsRequest::set_allocated_filter(::datacatalog::FilterExpression* filter) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete filter_; + } + if (filter) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + filter = ::google::protobuf::internal::GetOwnedMessage( + message_arena, filter, submessage_arena); + } + + } else { + + } + filter_ = filter; + // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsRequest.filter) +} + +// .datacatalog.PaginationOptions pagination = 3; +inline bool ListArtifactsRequest::has_pagination() const { + return this != internal_default_instance() && pagination_ != nullptr; +} +inline void ListArtifactsRequest::clear_pagination() { + if (GetArenaNoVirtual() == nullptr && pagination_ != nullptr) { + delete pagination_; + } + pagination_ = nullptr; +} +inline const ::datacatalog::PaginationOptions& ListArtifactsRequest::pagination() const { + const ::datacatalog::PaginationOptions* p = pagination_; + // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsRequest.pagination) + return p != nullptr ? *p : *reinterpret_cast( + &::datacatalog::_PaginationOptions_default_instance_); +} +inline ::datacatalog::PaginationOptions* ListArtifactsRequest::release_pagination() { + // @@protoc_insertion_point(field_release:datacatalog.ListArtifactsRequest.pagination) + + ::datacatalog::PaginationOptions* temp = pagination_; + pagination_ = nullptr; + return temp; +} +inline ::datacatalog::PaginationOptions* ListArtifactsRequest::mutable_pagination() { + + if (pagination_ == nullptr) { + auto* p = CreateMaybeMessage<::datacatalog::PaginationOptions>(GetArenaNoVirtual()); + pagination_ = p; + } + // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsRequest.pagination) + return pagination_; +} +inline void ListArtifactsRequest::set_allocated_pagination(::datacatalog::PaginationOptions* pagination) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete pagination_; + } + if (pagination) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + pagination = ::google::protobuf::internal::GetOwnedMessage( + message_arena, pagination, submessage_arena); + } + + } else { + + } + pagination_ = pagination; + // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsRequest.pagination) +} + +// ------------------------------------------------------------------- + +// ListArtifactsResponse + +// repeated .datacatalog.Artifact artifacts = 1; +inline int ListArtifactsResponse::artifacts_size() const { + return artifacts_.size(); +} +inline void ListArtifactsResponse::clear_artifacts() { + artifacts_.Clear(); +} +inline ::datacatalog::Artifact* ListArtifactsResponse::mutable_artifacts(int index) { + // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsResponse.artifacts) + return artifacts_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::datacatalog::Artifact >* +ListArtifactsResponse::mutable_artifacts() { + // @@protoc_insertion_point(field_mutable_list:datacatalog.ListArtifactsResponse.artifacts) + return &artifacts_; +} +inline const ::datacatalog::Artifact& ListArtifactsResponse::artifacts(int index) const { + // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsResponse.artifacts) + return artifacts_.Get(index); +} +inline ::datacatalog::Artifact* ListArtifactsResponse::add_artifacts() { + // @@protoc_insertion_point(field_add:datacatalog.ListArtifactsResponse.artifacts) + return artifacts_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::Artifact >& +ListArtifactsResponse::artifacts() const { + // @@protoc_insertion_point(field_list:datacatalog.ListArtifactsResponse.artifacts) + return artifacts_; +} + +// string next_token = 2; +inline void ListArtifactsResponse::clear_next_token() { + next_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ListArtifactsResponse::next_token() const { + // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsResponse.next_token) + return next_token_.GetNoArena(); +} +inline void ListArtifactsResponse::set_next_token(const ::std::string& value) { + + next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:datacatalog.ListArtifactsResponse.next_token) +} +#if LANG_CXX11 +inline void ListArtifactsResponse::set_next_token(::std::string&& value) { + + next_token_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:datacatalog.ListArtifactsResponse.next_token) +} +#endif +inline void ListArtifactsResponse::set_next_token(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:datacatalog.ListArtifactsResponse.next_token) +} +inline void ListArtifactsResponse::set_next_token(const char* value, size_t size) { + + next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:datacatalog.ListArtifactsResponse.next_token) +} +inline ::std::string* ListArtifactsResponse::mutable_next_token() { + + // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsResponse.next_token) + return next_token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ListArtifactsResponse::release_next_token() { + // @@protoc_insertion_point(field_release:datacatalog.ListArtifactsResponse.next_token) + + return next_token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ListArtifactsResponse::set_allocated_next_token(::std::string* next_token) { + if (next_token != nullptr) { + + } else { + + } + next_token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), next_token); + // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsResponse.next_token) } -// .datacatalog.FilterExpression filter = 2; -inline bool ListArtifactsRequest::has_filter() const { +// ------------------------------------------------------------------- + +// ListDatasetsRequest + +// .datacatalog.FilterExpression filter = 1; +inline bool ListDatasetsRequest::has_filter() const { return this != internal_default_instance() && filter_ != nullptr; } -inline void ListArtifactsRequest::clear_filter() { +inline void ListDatasetsRequest::clear_filter() { if (GetArenaNoVirtual() == nullptr && filter_ != nullptr) { delete filter_; } filter_ = nullptr; } -inline const ::datacatalog::FilterExpression& ListArtifactsRequest::filter() const { +inline const ::datacatalog::FilterExpression& ListDatasetsRequest::filter() const { const ::datacatalog::FilterExpression* p = filter_; - // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsRequest.filter) + // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsRequest.filter) return p != nullptr ? *p : *reinterpret_cast( &::datacatalog::_FilterExpression_default_instance_); } -inline ::datacatalog::FilterExpression* ListArtifactsRequest::release_filter() { - // @@protoc_insertion_point(field_release:datacatalog.ListArtifactsRequest.filter) +inline ::datacatalog::FilterExpression* ListDatasetsRequest::release_filter() { + // @@protoc_insertion_point(field_release:datacatalog.ListDatasetsRequest.filter) ::datacatalog::FilterExpression* temp = filter_; filter_ = nullptr; return temp; } -inline ::datacatalog::FilterExpression* ListArtifactsRequest::mutable_filter() { +inline ::datacatalog::FilterExpression* ListDatasetsRequest::mutable_filter() { if (filter_ == nullptr) { auto* p = CreateMaybeMessage<::datacatalog::FilterExpression>(GetArenaNoVirtual()); filter_ = p; } - // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsRequest.filter) + // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsRequest.filter) return filter_; } -inline void ListArtifactsRequest::set_allocated_filter(::datacatalog::FilterExpression* filter) { +inline void ListDatasetsRequest::set_allocated_filter(::datacatalog::FilterExpression* filter) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete filter_; @@ -6080,42 +7043,42 @@ inline void ListArtifactsRequest::set_allocated_filter(::datacatalog::FilterExpr } filter_ = filter; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsRequest.filter) + // @@protoc_insertion_point(field_set_allocated:datacatalog.ListDatasetsRequest.filter) } -// .datacatalog.PaginationOptions pagination = 3; -inline bool ListArtifactsRequest::has_pagination() const { +// .datacatalog.PaginationOptions pagination = 2; +inline bool ListDatasetsRequest::has_pagination() const { return this != internal_default_instance() && pagination_ != nullptr; } -inline void ListArtifactsRequest::clear_pagination() { +inline void ListDatasetsRequest::clear_pagination() { if (GetArenaNoVirtual() == nullptr && pagination_ != nullptr) { delete pagination_; } pagination_ = nullptr; } -inline const ::datacatalog::PaginationOptions& ListArtifactsRequest::pagination() const { +inline const ::datacatalog::PaginationOptions& ListDatasetsRequest::pagination() const { const ::datacatalog::PaginationOptions* p = pagination_; - // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsRequest.pagination) + // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsRequest.pagination) return p != nullptr ? *p : *reinterpret_cast( &::datacatalog::_PaginationOptions_default_instance_); } -inline ::datacatalog::PaginationOptions* ListArtifactsRequest::release_pagination() { - // @@protoc_insertion_point(field_release:datacatalog.ListArtifactsRequest.pagination) +inline ::datacatalog::PaginationOptions* ListDatasetsRequest::release_pagination() { + // @@protoc_insertion_point(field_release:datacatalog.ListDatasetsRequest.pagination) ::datacatalog::PaginationOptions* temp = pagination_; pagination_ = nullptr; return temp; } -inline ::datacatalog::PaginationOptions* ListArtifactsRequest::mutable_pagination() { +inline ::datacatalog::PaginationOptions* ListDatasetsRequest::mutable_pagination() { if (pagination_ == nullptr) { auto* p = CreateMaybeMessage<::datacatalog::PaginationOptions>(GetArenaNoVirtual()); pagination_ = p; } - // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsRequest.pagination) + // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsRequest.pagination) return pagination_; } -inline void ListArtifactsRequest::set_allocated_pagination(::datacatalog::PaginationOptions* pagination) { +inline void ListDatasetsRequest::set_allocated_pagination(::datacatalog::PaginationOptions* pagination) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete pagination_; @@ -6131,326 +7094,468 @@ inline void ListArtifactsRequest::set_allocated_pagination(::datacatalog::Pagina } pagination_ = pagination; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsRequest.pagination) + // @@protoc_insertion_point(field_set_allocated:datacatalog.ListDatasetsRequest.pagination) } // ------------------------------------------------------------------- -// ListArtifactsResponse +// ListDatasetsResponse -// repeated .datacatalog.Artifact artifacts = 1; -inline int ListArtifactsResponse::artifacts_size() const { - return artifacts_.size(); +// repeated .datacatalog.Dataset datasets = 1; +inline int ListDatasetsResponse::datasets_size() const { + return datasets_.size(); } -inline void ListArtifactsResponse::clear_artifacts() { - artifacts_.Clear(); +inline void ListDatasetsResponse::clear_datasets() { + datasets_.Clear(); } -inline ::datacatalog::Artifact* ListArtifactsResponse::mutable_artifacts(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsResponse.artifacts) - return artifacts_.Mutable(index); +inline ::datacatalog::Dataset* ListDatasetsResponse::mutable_datasets(int index) { + // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsResponse.datasets) + return datasets_.Mutable(index); } -inline ::google::protobuf::RepeatedPtrField< ::datacatalog::Artifact >* -ListArtifactsResponse::mutable_artifacts() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.ListArtifactsResponse.artifacts) - return &artifacts_; +inline ::google::protobuf::RepeatedPtrField< ::datacatalog::Dataset >* +ListDatasetsResponse::mutable_datasets() { + // @@protoc_insertion_point(field_mutable_list:datacatalog.ListDatasetsResponse.datasets) + return &datasets_; } -inline const ::datacatalog::Artifact& ListArtifactsResponse::artifacts(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsResponse.artifacts) - return artifacts_.Get(index); +inline const ::datacatalog::Dataset& ListDatasetsResponse::datasets(int index) const { + // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsResponse.datasets) + return datasets_.Get(index); } -inline ::datacatalog::Artifact* ListArtifactsResponse::add_artifacts() { - // @@protoc_insertion_point(field_add:datacatalog.ListArtifactsResponse.artifacts) - return artifacts_.Add(); +inline ::datacatalog::Dataset* ListDatasetsResponse::add_datasets() { + // @@protoc_insertion_point(field_add:datacatalog.ListDatasetsResponse.datasets) + return datasets_.Add(); } -inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::Artifact >& -ListArtifactsResponse::artifacts() const { - // @@protoc_insertion_point(field_list:datacatalog.ListArtifactsResponse.artifacts) - return artifacts_; +inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::Dataset >& +ListDatasetsResponse::datasets() const { + // @@protoc_insertion_point(field_list:datacatalog.ListDatasetsResponse.datasets) + return datasets_; } // string next_token = 2; -inline void ListArtifactsResponse::clear_next_token() { +inline void ListDatasetsResponse::clear_next_token() { next_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline const ::std::string& ListArtifactsResponse::next_token() const { - // @@protoc_insertion_point(field_get:datacatalog.ListArtifactsResponse.next_token) +inline const ::std::string& ListDatasetsResponse::next_token() const { + // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsResponse.next_token) return next_token_.GetNoArena(); } -inline void ListArtifactsResponse::set_next_token(const ::std::string& value) { +inline void ListDatasetsResponse::set_next_token(const ::std::string& value) { next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.ListArtifactsResponse.next_token) + // @@protoc_insertion_point(field_set:datacatalog.ListDatasetsResponse.next_token) } #if LANG_CXX11 -inline void ListArtifactsResponse::set_next_token(::std::string&& value) { +inline void ListDatasetsResponse::set_next_token(::std::string&& value) { next_token_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.ListArtifactsResponse.next_token) + // @@protoc_insertion_point(field_set_rvalue:datacatalog.ListDatasetsResponse.next_token) } #endif -inline void ListArtifactsResponse::set_next_token(const char* value) { +inline void ListDatasetsResponse::set_next_token(const char* value) { GOOGLE_DCHECK(value != nullptr); next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.ListArtifactsResponse.next_token) + // @@protoc_insertion_point(field_set_char:datacatalog.ListDatasetsResponse.next_token) } -inline void ListArtifactsResponse::set_next_token(const char* value, size_t size) { +inline void ListDatasetsResponse::set_next_token(const char* value, size_t size) { next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.ListArtifactsResponse.next_token) + // @@protoc_insertion_point(field_set_pointer:datacatalog.ListDatasetsResponse.next_token) +} +inline ::std::string* ListDatasetsResponse::mutable_next_token() { + + // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsResponse.next_token) + return next_token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ListDatasetsResponse::release_next_token() { + // @@protoc_insertion_point(field_release:datacatalog.ListDatasetsResponse.next_token) + + return next_token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ListDatasetsResponse::set_allocated_next_token(::std::string* next_token) { + if (next_token != nullptr) { + + } else { + + } + next_token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), next_token); + // @@protoc_insertion_point(field_set_allocated:datacatalog.ListDatasetsResponse.next_token) +} + +// ------------------------------------------------------------------- + +// UpdateArtifactRequest + +// .datacatalog.DatasetID dataset = 1; +inline bool UpdateArtifactRequest::has_dataset() const { + return this != internal_default_instance() && dataset_ != nullptr; +} +inline void UpdateArtifactRequest::clear_dataset() { + if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { + delete dataset_; + } + dataset_ = nullptr; +} +inline const ::datacatalog::DatasetID& UpdateArtifactRequest::dataset() const { + const ::datacatalog::DatasetID* p = dataset_; + // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.dataset) + return p != nullptr ? *p : *reinterpret_cast( + &::datacatalog::_DatasetID_default_instance_); +} +inline ::datacatalog::DatasetID* UpdateArtifactRequest::release_dataset() { + // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactRequest.dataset) + + ::datacatalog::DatasetID* temp = dataset_; + dataset_ = nullptr; + return temp; +} +inline ::datacatalog::DatasetID* UpdateArtifactRequest::mutable_dataset() { + + if (dataset_ == nullptr) { + auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); + dataset_ = p; + } + // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.dataset) + return dataset_; +} +inline void UpdateArtifactRequest::set_allocated_dataset(::datacatalog::DatasetID* dataset) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete dataset_; + } + if (dataset) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + dataset = ::google::protobuf::internal::GetOwnedMessage( + message_arena, dataset, submessage_arena); + } + + } else { + + } + dataset_ = dataset; + // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactRequest.dataset) +} + +// string artifact_id = 2; +inline bool UpdateArtifactRequest::has_artifact_id() const { + return query_handle_case() == kArtifactId; +} +inline void UpdateArtifactRequest::set_has_artifact_id() { + _oneof_case_[0] = kArtifactId; +} +inline void UpdateArtifactRequest::clear_artifact_id() { + if (has_artifact_id()) { + query_handle_.artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_query_handle(); + } +} +inline const ::std::string& UpdateArtifactRequest::artifact_id() const { + // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.artifact_id) + if (has_artifact_id()) { + return query_handle_.artifact_id_.GetNoArena(); + } + return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void UpdateArtifactRequest::set_artifact_id(const ::std::string& value) { + // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.artifact_id) + if (!has_artifact_id()) { + clear_query_handle(); + set_has_artifact_id(); + query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.artifact_id) +} +#if LANG_CXX11 +inline void UpdateArtifactRequest::set_artifact_id(::std::string&& value) { + // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.artifact_id) + if (!has_artifact_id()) { + clear_query_handle(); + set_has_artifact_id(); + query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:datacatalog.UpdateArtifactRequest.artifact_id) +} +#endif +inline void UpdateArtifactRequest::set_artifact_id(const char* value) { + GOOGLE_DCHECK(value != nullptr); + if (!has_artifact_id()) { + clear_query_handle(); + set_has_artifact_id(); + query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(value)); + // @@protoc_insertion_point(field_set_char:datacatalog.UpdateArtifactRequest.artifact_id) } -inline ::std::string* ListArtifactsResponse::mutable_next_token() { - - // @@protoc_insertion_point(field_mutable:datacatalog.ListArtifactsResponse.next_token) - return next_token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +inline void UpdateArtifactRequest::set_artifact_id(const char* value, size_t size) { + if (!has_artifact_id()) { + clear_query_handle(); + set_has_artifact_id(); + query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( + reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:datacatalog.UpdateArtifactRequest.artifact_id) } -inline ::std::string* ListArtifactsResponse::release_next_token() { - // @@protoc_insertion_point(field_release:datacatalog.ListArtifactsResponse.next_token) - - return next_token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +inline ::std::string* UpdateArtifactRequest::mutable_artifact_id() { + if (!has_artifact_id()) { + clear_query_handle(); + set_has_artifact_id(); + query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.artifact_id) + return query_handle_.artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void ListArtifactsResponse::set_allocated_next_token(::std::string* next_token) { - if (next_token != nullptr) { - +inline ::std::string* UpdateArtifactRequest::release_artifact_id() { + // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactRequest.artifact_id) + if (has_artifact_id()) { + clear_has_query_handle(); + return query_handle_.artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } else { - + return nullptr; } - next_token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), next_token); - // @@protoc_insertion_point(field_set_allocated:datacatalog.ListArtifactsResponse.next_token) -} - -// ------------------------------------------------------------------- - -// ListDatasetsRequest - -// .datacatalog.FilterExpression filter = 1; -inline bool ListDatasetsRequest::has_filter() const { - return this != internal_default_instance() && filter_ != nullptr; } -inline void ListDatasetsRequest::clear_filter() { - if (GetArenaNoVirtual() == nullptr && filter_ != nullptr) { - delete filter_; +inline void UpdateArtifactRequest::set_allocated_artifact_id(::std::string* artifact_id) { + if (has_query_handle()) { + clear_query_handle(); } - filter_ = nullptr; + if (artifact_id != nullptr) { + set_has_artifact_id(); + query_handle_.artifact_id_.UnsafeSetDefault(artifact_id); + } + // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactRequest.artifact_id) } -inline const ::datacatalog::FilterExpression& ListDatasetsRequest::filter() const { - const ::datacatalog::FilterExpression* p = filter_; - // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsRequest.filter) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_FilterExpression_default_instance_); + +// string tag_name = 3; +inline bool UpdateArtifactRequest::has_tag_name() const { + return query_handle_case() == kTagName; } -inline ::datacatalog::FilterExpression* ListDatasetsRequest::release_filter() { - // @@protoc_insertion_point(field_release:datacatalog.ListDatasetsRequest.filter) - - ::datacatalog::FilterExpression* temp = filter_; - filter_ = nullptr; - return temp; +inline void UpdateArtifactRequest::set_has_tag_name() { + _oneof_case_[0] = kTagName; } -inline ::datacatalog::FilterExpression* ListDatasetsRequest::mutable_filter() { - - if (filter_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::FilterExpression>(GetArenaNoVirtual()); - filter_ = p; +inline void UpdateArtifactRequest::clear_tag_name() { + if (has_tag_name()) { + query_handle_.tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_query_handle(); } - // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsRequest.filter) - return filter_; } -inline void ListDatasetsRequest::set_allocated_filter(::datacatalog::FilterExpression* filter) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete filter_; +inline const ::std::string& UpdateArtifactRequest::tag_name() const { + // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.tag_name) + if (has_tag_name()) { + return query_handle_.tag_name_.GetNoArena(); } - if (filter) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - filter = ::google::protobuf::internal::GetOwnedMessage( - message_arena, filter, submessage_arena); - } - - } else { - + return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); +} +inline void UpdateArtifactRequest::set_tag_name(const ::std::string& value) { + // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.tag_name) + if (!has_tag_name()) { + clear_query_handle(); + set_has_tag_name(); + query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - filter_ = filter; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ListDatasetsRequest.filter) + query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.tag_name) } - -// .datacatalog.PaginationOptions pagination = 2; -inline bool ListDatasetsRequest::has_pagination() const { - return this != internal_default_instance() && pagination_ != nullptr; +#if LANG_CXX11 +inline void UpdateArtifactRequest::set_tag_name(::std::string&& value) { + // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.tag_name) + if (!has_tag_name()) { + clear_query_handle(); + set_has_tag_name(); + query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:datacatalog.UpdateArtifactRequest.tag_name) } -inline void ListDatasetsRequest::clear_pagination() { - if (GetArenaNoVirtual() == nullptr && pagination_ != nullptr) { - delete pagination_; +#endif +inline void UpdateArtifactRequest::set_tag_name(const char* value) { + GOOGLE_DCHECK(value != nullptr); + if (!has_tag_name()) { + clear_query_handle(); + set_has_tag_name(); + query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - pagination_ = nullptr; + query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(value)); + // @@protoc_insertion_point(field_set_char:datacatalog.UpdateArtifactRequest.tag_name) } -inline const ::datacatalog::PaginationOptions& ListDatasetsRequest::pagination() const { - const ::datacatalog::PaginationOptions* p = pagination_; - // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsRequest.pagination) - return p != nullptr ? *p : *reinterpret_cast( - &::datacatalog::_PaginationOptions_default_instance_); +inline void UpdateArtifactRequest::set_tag_name(const char* value, size_t size) { + if (!has_tag_name()) { + clear_query_handle(); + set_has_tag_name(); + query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( + reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:datacatalog.UpdateArtifactRequest.tag_name) } -inline ::datacatalog::PaginationOptions* ListDatasetsRequest::release_pagination() { - // @@protoc_insertion_point(field_release:datacatalog.ListDatasetsRequest.pagination) - - ::datacatalog::PaginationOptions* temp = pagination_; - pagination_ = nullptr; - return temp; +inline ::std::string* UpdateArtifactRequest::mutable_tag_name() { + if (!has_tag_name()) { + clear_query_handle(); + set_has_tag_name(); + query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.tag_name) + return query_handle_.tag_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline ::datacatalog::PaginationOptions* ListDatasetsRequest::mutable_pagination() { - - if (pagination_ == nullptr) { - auto* p = CreateMaybeMessage<::datacatalog::PaginationOptions>(GetArenaNoVirtual()); - pagination_ = p; +inline ::std::string* UpdateArtifactRequest::release_tag_name() { + // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactRequest.tag_name) + if (has_tag_name()) { + clear_has_query_handle(); + return query_handle_.tag_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } else { + return nullptr; } - // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsRequest.pagination) - return pagination_; } -inline void ListDatasetsRequest::set_allocated_pagination(::datacatalog::PaginationOptions* pagination) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete pagination_; +inline void UpdateArtifactRequest::set_allocated_tag_name(::std::string* tag_name) { + if (has_query_handle()) { + clear_query_handle(); } - if (pagination) { - ::google::protobuf::Arena* submessage_arena = nullptr; - if (message_arena != submessage_arena) { - pagination = ::google::protobuf::internal::GetOwnedMessage( - message_arena, pagination, submessage_arena); - } - - } else { - + if (tag_name != nullptr) { + set_has_tag_name(); + query_handle_.tag_name_.UnsafeSetDefault(tag_name); } - pagination_ = pagination; - // @@protoc_insertion_point(field_set_allocated:datacatalog.ListDatasetsRequest.pagination) + // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactRequest.tag_name) } -// ------------------------------------------------------------------- - -// ListDatasetsResponse - -// repeated .datacatalog.Dataset datasets = 1; -inline int ListDatasetsResponse::datasets_size() const { - return datasets_.size(); +// repeated .datacatalog.ArtifactData data = 4; +inline int UpdateArtifactRequest::data_size() const { + return data_.size(); } -inline void ListDatasetsResponse::clear_datasets() { - datasets_.Clear(); +inline void UpdateArtifactRequest::clear_data() { + data_.Clear(); } -inline ::datacatalog::Dataset* ListDatasetsResponse::mutable_datasets(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsResponse.datasets) - return datasets_.Mutable(index); +inline ::datacatalog::ArtifactData* UpdateArtifactRequest::mutable_data(int index) { + // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.data) + return data_.Mutable(index); } -inline ::google::protobuf::RepeatedPtrField< ::datacatalog::Dataset >* -ListDatasetsResponse::mutable_datasets() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.ListDatasetsResponse.datasets) - return &datasets_; +inline ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >* +UpdateArtifactRequest::mutable_data() { + // @@protoc_insertion_point(field_mutable_list:datacatalog.UpdateArtifactRequest.data) + return &data_; } -inline const ::datacatalog::Dataset& ListDatasetsResponse::datasets(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsResponse.datasets) - return datasets_.Get(index); +inline const ::datacatalog::ArtifactData& UpdateArtifactRequest::data(int index) const { + // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.data) + return data_.Get(index); } -inline ::datacatalog::Dataset* ListDatasetsResponse::add_datasets() { - // @@protoc_insertion_point(field_add:datacatalog.ListDatasetsResponse.datasets) - return datasets_.Add(); +inline ::datacatalog::ArtifactData* UpdateArtifactRequest::add_data() { + // @@protoc_insertion_point(field_add:datacatalog.UpdateArtifactRequest.data) + return data_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >& +UpdateArtifactRequest::data() const { + // @@protoc_insertion_point(field_list:datacatalog.UpdateArtifactRequest.data) + return data_; +} + +inline bool UpdateArtifactRequest::has_query_handle() const { + return query_handle_case() != QUERY_HANDLE_NOT_SET; } -inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::Dataset >& -ListDatasetsResponse::datasets() const { - // @@protoc_insertion_point(field_list:datacatalog.ListDatasetsResponse.datasets) - return datasets_; +inline void UpdateArtifactRequest::clear_has_query_handle() { + _oneof_case_[0] = QUERY_HANDLE_NOT_SET; +} +inline UpdateArtifactRequest::QueryHandleCase UpdateArtifactRequest::query_handle_case() const { + return UpdateArtifactRequest::QueryHandleCase(_oneof_case_[0]); } +// ------------------------------------------------------------------- -// string next_token = 2; -inline void ListDatasetsResponse::clear_next_token() { - next_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +// UpdateArtifactResponse + +// string artifact_id = 1; +inline void UpdateArtifactResponse::clear_artifact_id() { + artifact_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline const ::std::string& ListDatasetsResponse::next_token() const { - // @@protoc_insertion_point(field_get:datacatalog.ListDatasetsResponse.next_token) - return next_token_.GetNoArena(); +inline const ::std::string& UpdateArtifactResponse::artifact_id() const { + // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactResponse.artifact_id) + return artifact_id_.GetNoArena(); } -inline void ListDatasetsResponse::set_next_token(const ::std::string& value) { +inline void UpdateArtifactResponse::set_artifact_id(const ::std::string& value) { - next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.ListDatasetsResponse.next_token) + artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactResponse.artifact_id) } #if LANG_CXX11 -inline void ListDatasetsResponse::set_next_token(::std::string&& value) { +inline void UpdateArtifactResponse::set_artifact_id(::std::string&& value) { - next_token_.SetNoArena( + artifact_id_.SetNoArena( &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.ListDatasetsResponse.next_token) + // @@protoc_insertion_point(field_set_rvalue:datacatalog.UpdateArtifactResponse.artifact_id) } #endif -inline void ListDatasetsResponse::set_next_token(const char* value) { +inline void UpdateArtifactResponse::set_artifact_id(const char* value) { GOOGLE_DCHECK(value != nullptr); - next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.ListDatasetsResponse.next_token) + artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:datacatalog.UpdateArtifactResponse.artifact_id) } -inline void ListDatasetsResponse::set_next_token(const char* value, size_t size) { +inline void UpdateArtifactResponse::set_artifact_id(const char* value, size_t size) { - next_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.ListDatasetsResponse.next_token) + // @@protoc_insertion_point(field_set_pointer:datacatalog.UpdateArtifactResponse.artifact_id) } -inline ::std::string* ListDatasetsResponse::mutable_next_token() { +inline ::std::string* UpdateArtifactResponse::mutable_artifact_id() { - // @@protoc_insertion_point(field_mutable:datacatalog.ListDatasetsResponse.next_token) - return next_token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactResponse.artifact_id) + return artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline ::std::string* ListDatasetsResponse::release_next_token() { - // @@protoc_insertion_point(field_release:datacatalog.ListDatasetsResponse.next_token) +inline ::std::string* UpdateArtifactResponse::release_artifact_id() { + // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactResponse.artifact_id) - return next_token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline void ListDatasetsResponse::set_allocated_next_token(::std::string* next_token) { - if (next_token != nullptr) { +inline void UpdateArtifactResponse::set_allocated_artifact_id(::std::string* artifact_id) { + if (artifact_id != nullptr) { } else { } - next_token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), next_token); - // @@protoc_insertion_point(field_set_allocated:datacatalog.ListDatasetsResponse.next_token) + artifact_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), artifact_id); + // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactResponse.artifact_id) } // ------------------------------------------------------------------- -// UpdateArtifactRequest +// DeleteArtifactRequest // .datacatalog.DatasetID dataset = 1; -inline bool UpdateArtifactRequest::has_dataset() const { +inline bool DeleteArtifactRequest::has_dataset() const { return this != internal_default_instance() && dataset_ != nullptr; } -inline void UpdateArtifactRequest::clear_dataset() { +inline void DeleteArtifactRequest::clear_dataset() { if (GetArenaNoVirtual() == nullptr && dataset_ != nullptr) { delete dataset_; } dataset_ = nullptr; } -inline const ::datacatalog::DatasetID& UpdateArtifactRequest::dataset() const { +inline const ::datacatalog::DatasetID& DeleteArtifactRequest::dataset() const { const ::datacatalog::DatasetID* p = dataset_; - // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.dataset) + // @@protoc_insertion_point(field_get:datacatalog.DeleteArtifactRequest.dataset) return p != nullptr ? *p : *reinterpret_cast( &::datacatalog::_DatasetID_default_instance_); } -inline ::datacatalog::DatasetID* UpdateArtifactRequest::release_dataset() { - // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactRequest.dataset) +inline ::datacatalog::DatasetID* DeleteArtifactRequest::release_dataset() { + // @@protoc_insertion_point(field_release:datacatalog.DeleteArtifactRequest.dataset) ::datacatalog::DatasetID* temp = dataset_; dataset_ = nullptr; return temp; } -inline ::datacatalog::DatasetID* UpdateArtifactRequest::mutable_dataset() { +inline ::datacatalog::DatasetID* DeleteArtifactRequest::mutable_dataset() { if (dataset_ == nullptr) { auto* p = CreateMaybeMessage<::datacatalog::DatasetID>(GetArenaNoVirtual()); dataset_ = p; } - // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.dataset) + // @@protoc_insertion_point(field_mutable:datacatalog.DeleteArtifactRequest.dataset) return dataset_; } -inline void UpdateArtifactRequest::set_allocated_dataset(::datacatalog::DatasetID* dataset) { +inline void DeleteArtifactRequest::set_allocated_dataset(::datacatalog::DatasetID* dataset) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete dataset_; @@ -6466,52 +7571,52 @@ inline void UpdateArtifactRequest::set_allocated_dataset(::datacatalog::DatasetI } dataset_ = dataset; - // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactRequest.dataset) + // @@protoc_insertion_point(field_set_allocated:datacatalog.DeleteArtifactRequest.dataset) } // string artifact_id = 2; -inline bool UpdateArtifactRequest::has_artifact_id() const { +inline bool DeleteArtifactRequest::has_artifact_id() const { return query_handle_case() == kArtifactId; } -inline void UpdateArtifactRequest::set_has_artifact_id() { +inline void DeleteArtifactRequest::set_has_artifact_id() { _oneof_case_[0] = kArtifactId; } -inline void UpdateArtifactRequest::clear_artifact_id() { +inline void DeleteArtifactRequest::clear_artifact_id() { if (has_artifact_id()) { query_handle_.artifact_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_query_handle(); } } -inline const ::std::string& UpdateArtifactRequest::artifact_id() const { - // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.artifact_id) +inline const ::std::string& DeleteArtifactRequest::artifact_id() const { + // @@protoc_insertion_point(field_get:datacatalog.DeleteArtifactRequest.artifact_id) if (has_artifact_id()) { return query_handle_.artifact_id_.GetNoArena(); } return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); } -inline void UpdateArtifactRequest::set_artifact_id(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.artifact_id) +inline void DeleteArtifactRequest::set_artifact_id(const ::std::string& value) { + // @@protoc_insertion_point(field_set:datacatalog.DeleteArtifactRequest.artifact_id) if (!has_artifact_id()) { clear_query_handle(); set_has_artifact_id(); query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.artifact_id) + // @@protoc_insertion_point(field_set:datacatalog.DeleteArtifactRequest.artifact_id) } #if LANG_CXX11 -inline void UpdateArtifactRequest::set_artifact_id(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.artifact_id) +inline void DeleteArtifactRequest::set_artifact_id(::std::string&& value) { + // @@protoc_insertion_point(field_set:datacatalog.DeleteArtifactRequest.artifact_id) if (!has_artifact_id()) { clear_query_handle(); set_has_artifact_id(); query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.UpdateArtifactRequest.artifact_id) + // @@protoc_insertion_point(field_set_rvalue:datacatalog.DeleteArtifactRequest.artifact_id) } #endif -inline void UpdateArtifactRequest::set_artifact_id(const char* value) { +inline void DeleteArtifactRequest::set_artifact_id(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!has_artifact_id()) { clear_query_handle(); @@ -6520,9 +7625,9 @@ inline void UpdateArtifactRequest::set_artifact_id(const char* value) { } query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.UpdateArtifactRequest.artifact_id) + // @@protoc_insertion_point(field_set_char:datacatalog.DeleteArtifactRequest.artifact_id) } -inline void UpdateArtifactRequest::set_artifact_id(const char* value, size_t size) { +inline void DeleteArtifactRequest::set_artifact_id(const char* value, size_t size) { if (!has_artifact_id()) { clear_query_handle(); set_has_artifact_id(); @@ -6530,19 +7635,19 @@ inline void UpdateArtifactRequest::set_artifact_id(const char* value, size_t siz } query_handle_.artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.UpdateArtifactRequest.artifact_id) + // @@protoc_insertion_point(field_set_pointer:datacatalog.DeleteArtifactRequest.artifact_id) } -inline ::std::string* UpdateArtifactRequest::mutable_artifact_id() { +inline ::std::string* DeleteArtifactRequest::mutable_artifact_id() { if (!has_artifact_id()) { clear_query_handle(); set_has_artifact_id(); query_handle_.artifact_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.artifact_id) + // @@protoc_insertion_point(field_mutable:datacatalog.DeleteArtifactRequest.artifact_id) return query_handle_.artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline ::std::string* UpdateArtifactRequest::release_artifact_id() { - // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactRequest.artifact_id) +inline ::std::string* DeleteArtifactRequest::release_artifact_id() { + // @@protoc_insertion_point(field_release:datacatalog.DeleteArtifactRequest.artifact_id) if (has_artifact_id()) { clear_has_query_handle(); return query_handle_.artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); @@ -6550,7 +7655,7 @@ inline ::std::string* UpdateArtifactRequest::release_artifact_id() { return nullptr; } } -inline void UpdateArtifactRequest::set_allocated_artifact_id(::std::string* artifact_id) { +inline void DeleteArtifactRequest::set_allocated_artifact_id(::std::string* artifact_id) { if (has_query_handle()) { clear_query_handle(); } @@ -6558,52 +7663,52 @@ inline void UpdateArtifactRequest::set_allocated_artifact_id(::std::string* arti set_has_artifact_id(); query_handle_.artifact_id_.UnsafeSetDefault(artifact_id); } - // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactRequest.artifact_id) + // @@protoc_insertion_point(field_set_allocated:datacatalog.DeleteArtifactRequest.artifact_id) } // string tag_name = 3; -inline bool UpdateArtifactRequest::has_tag_name() const { +inline bool DeleteArtifactRequest::has_tag_name() const { return query_handle_case() == kTagName; } -inline void UpdateArtifactRequest::set_has_tag_name() { +inline void DeleteArtifactRequest::set_has_tag_name() { _oneof_case_[0] = kTagName; } -inline void UpdateArtifactRequest::clear_tag_name() { +inline void DeleteArtifactRequest::clear_tag_name() { if (has_tag_name()) { query_handle_.tag_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); clear_has_query_handle(); } } -inline const ::std::string& UpdateArtifactRequest::tag_name() const { - // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.tag_name) +inline const ::std::string& DeleteArtifactRequest::tag_name() const { + // @@protoc_insertion_point(field_get:datacatalog.DeleteArtifactRequest.tag_name) if (has_tag_name()) { return query_handle_.tag_name_.GetNoArena(); } return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); } -inline void UpdateArtifactRequest::set_tag_name(const ::std::string& value) { - // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.tag_name) +inline void DeleteArtifactRequest::set_tag_name(const ::std::string& value) { + // @@protoc_insertion_point(field_set:datacatalog.DeleteArtifactRequest.tag_name) if (!has_tag_name()) { clear_query_handle(); set_has_tag_name(); query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.tag_name) + // @@protoc_insertion_point(field_set:datacatalog.DeleteArtifactRequest.tag_name) } #if LANG_CXX11 -inline void UpdateArtifactRequest::set_tag_name(::std::string&& value) { - // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactRequest.tag_name) +inline void DeleteArtifactRequest::set_tag_name(::std::string&& value) { + // @@protoc_insertion_point(field_set:datacatalog.DeleteArtifactRequest.tag_name) if (!has_tag_name()) { clear_query_handle(); set_has_tag_name(); query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.UpdateArtifactRequest.tag_name) + // @@protoc_insertion_point(field_set_rvalue:datacatalog.DeleteArtifactRequest.tag_name) } #endif -inline void UpdateArtifactRequest::set_tag_name(const char* value) { +inline void DeleteArtifactRequest::set_tag_name(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!has_tag_name()) { clear_query_handle(); @@ -6612,9 +7717,9 @@ inline void UpdateArtifactRequest::set_tag_name(const char* value) { } query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.UpdateArtifactRequest.tag_name) + // @@protoc_insertion_point(field_set_char:datacatalog.DeleteArtifactRequest.tag_name) } -inline void UpdateArtifactRequest::set_tag_name(const char* value, size_t size) { +inline void DeleteArtifactRequest::set_tag_name(const char* value, size_t size) { if (!has_tag_name()) { clear_query_handle(); set_has_tag_name(); @@ -6622,19 +7727,19 @@ inline void UpdateArtifactRequest::set_tag_name(const char* value, size_t size) } query_handle_.tag_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.UpdateArtifactRequest.tag_name) + // @@protoc_insertion_point(field_set_pointer:datacatalog.DeleteArtifactRequest.tag_name) } -inline ::std::string* UpdateArtifactRequest::mutable_tag_name() { +inline ::std::string* DeleteArtifactRequest::mutable_tag_name() { if (!has_tag_name()) { clear_query_handle(); set_has_tag_name(); query_handle_.tag_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.tag_name) + // @@protoc_insertion_point(field_mutable:datacatalog.DeleteArtifactRequest.tag_name) return query_handle_.tag_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } -inline ::std::string* UpdateArtifactRequest::release_tag_name() { - // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactRequest.tag_name) +inline ::std::string* DeleteArtifactRequest::release_tag_name() { + // @@protoc_insertion_point(field_release:datacatalog.DeleteArtifactRequest.tag_name) if (has_tag_name()) { clear_has_query_handle(); return query_handle_.tag_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); @@ -6642,7 +7747,7 @@ inline ::std::string* UpdateArtifactRequest::release_tag_name() { return nullptr; } } -inline void UpdateArtifactRequest::set_allocated_tag_name(::std::string* tag_name) { +inline void DeleteArtifactRequest::set_allocated_tag_name(::std::string* tag_name) { if (has_query_handle()) { clear_query_handle(); } @@ -6650,107 +7755,58 @@ inline void UpdateArtifactRequest::set_allocated_tag_name(::std::string* tag_nam set_has_tag_name(); query_handle_.tag_name_.UnsafeSetDefault(tag_name); } - // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactRequest.tag_name) -} - -// repeated .datacatalog.ArtifactData data = 4; -inline int UpdateArtifactRequest::data_size() const { - return data_.size(); -} -inline void UpdateArtifactRequest::clear_data() { - data_.Clear(); -} -inline ::datacatalog::ArtifactData* UpdateArtifactRequest::mutable_data(int index) { - // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactRequest.data) - return data_.Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >* -UpdateArtifactRequest::mutable_data() { - // @@protoc_insertion_point(field_mutable_list:datacatalog.UpdateArtifactRequest.data) - return &data_; -} -inline const ::datacatalog::ArtifactData& UpdateArtifactRequest::data(int index) const { - // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactRequest.data) - return data_.Get(index); -} -inline ::datacatalog::ArtifactData* UpdateArtifactRequest::add_data() { - // @@protoc_insertion_point(field_add:datacatalog.UpdateArtifactRequest.data) - return data_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::ArtifactData >& -UpdateArtifactRequest::data() const { - // @@protoc_insertion_point(field_list:datacatalog.UpdateArtifactRequest.data) - return data_; + // @@protoc_insertion_point(field_set_allocated:datacatalog.DeleteArtifactRequest.tag_name) } -inline bool UpdateArtifactRequest::has_query_handle() const { +inline bool DeleteArtifactRequest::has_query_handle() const { return query_handle_case() != QUERY_HANDLE_NOT_SET; } -inline void UpdateArtifactRequest::clear_has_query_handle() { +inline void DeleteArtifactRequest::clear_has_query_handle() { _oneof_case_[0] = QUERY_HANDLE_NOT_SET; } -inline UpdateArtifactRequest::QueryHandleCase UpdateArtifactRequest::query_handle_case() const { - return UpdateArtifactRequest::QueryHandleCase(_oneof_case_[0]); +inline DeleteArtifactRequest::QueryHandleCase DeleteArtifactRequest::query_handle_case() const { + return DeleteArtifactRequest::QueryHandleCase(_oneof_case_[0]); } // ------------------------------------------------------------------- -// UpdateArtifactResponse +// DeleteArtifactsRequest -// string artifact_id = 1; -inline void UpdateArtifactResponse::clear_artifact_id() { - artifact_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); -} -inline const ::std::string& UpdateArtifactResponse::artifact_id() const { - // @@protoc_insertion_point(field_get:datacatalog.UpdateArtifactResponse.artifact_id) - return artifact_id_.GetNoArena(); -} -inline void UpdateArtifactResponse::set_artifact_id(const ::std::string& value) { - - artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); - // @@protoc_insertion_point(field_set:datacatalog.UpdateArtifactResponse.artifact_id) +// repeated .datacatalog.DeleteArtifactRequest artifacts = 1; +inline int DeleteArtifactsRequest::artifacts_size() const { + return artifacts_.size(); } -#if LANG_CXX11 -inline void UpdateArtifactResponse::set_artifact_id(::std::string&& value) { - - artifact_id_.SetNoArena( - &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); - // @@protoc_insertion_point(field_set_rvalue:datacatalog.UpdateArtifactResponse.artifact_id) +inline void DeleteArtifactsRequest::clear_artifacts() { + artifacts_.Clear(); } -#endif -inline void UpdateArtifactResponse::set_artifact_id(const char* value) { - GOOGLE_DCHECK(value != nullptr); - - artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); - // @@protoc_insertion_point(field_set_char:datacatalog.UpdateArtifactResponse.artifact_id) +inline ::datacatalog::DeleteArtifactRequest* DeleteArtifactsRequest::mutable_artifacts(int index) { + // @@protoc_insertion_point(field_mutable:datacatalog.DeleteArtifactsRequest.artifacts) + return artifacts_.Mutable(index); } -inline void UpdateArtifactResponse::set_artifact_id(const char* value, size_t size) { - - artifact_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), - ::std::string(reinterpret_cast(value), size)); - // @@protoc_insertion_point(field_set_pointer:datacatalog.UpdateArtifactResponse.artifact_id) +inline ::google::protobuf::RepeatedPtrField< ::datacatalog::DeleteArtifactRequest >* +DeleteArtifactsRequest::mutable_artifacts() { + // @@protoc_insertion_point(field_mutable_list:datacatalog.DeleteArtifactsRequest.artifacts) + return &artifacts_; } -inline ::std::string* UpdateArtifactResponse::mutable_artifact_id() { - - // @@protoc_insertion_point(field_mutable:datacatalog.UpdateArtifactResponse.artifact_id) - return artifact_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +inline const ::datacatalog::DeleteArtifactRequest& DeleteArtifactsRequest::artifacts(int index) const { + // @@protoc_insertion_point(field_get:datacatalog.DeleteArtifactsRequest.artifacts) + return artifacts_.Get(index); } -inline ::std::string* UpdateArtifactResponse::release_artifact_id() { - // @@protoc_insertion_point(field_release:datacatalog.UpdateArtifactResponse.artifact_id) - - return artifact_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +inline ::datacatalog::DeleteArtifactRequest* DeleteArtifactsRequest::add_artifacts() { + // @@protoc_insertion_point(field_add:datacatalog.DeleteArtifactsRequest.artifacts) + return artifacts_.Add(); } -inline void UpdateArtifactResponse::set_allocated_artifact_id(::std::string* artifact_id) { - if (artifact_id != nullptr) { - - } else { - - } - artifact_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), artifact_id); - // @@protoc_insertion_point(field_set_allocated:datacatalog.UpdateArtifactResponse.artifact_id) +inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::DeleteArtifactRequest >& +DeleteArtifactsRequest::artifacts() const { + // @@protoc_insertion_point(field_list:datacatalog.DeleteArtifactsRequest.artifacts) + return artifacts_; } // ------------------------------------------------------------------- +// DeleteArtifactResponse + +// ------------------------------------------------------------------- + // ReservationID // .datacatalog.DatasetID dataset_id = 1; @@ -7013,6 +8069,40 @@ inline void GetOrExtendReservationRequest::set_allocated_heartbeat_interval(::go // ------------------------------------------------------------------- +// GetOrExtendReservationsRequest + +// repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; +inline int GetOrExtendReservationsRequest::reservations_size() const { + return reservations_.size(); +} +inline void GetOrExtendReservationsRequest::clear_reservations() { + reservations_.Clear(); +} +inline ::datacatalog::GetOrExtendReservationRequest* GetOrExtendReservationsRequest::mutable_reservations(int index) { + // @@protoc_insertion_point(field_mutable:datacatalog.GetOrExtendReservationsRequest.reservations) + return reservations_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::datacatalog::GetOrExtendReservationRequest >* +GetOrExtendReservationsRequest::mutable_reservations() { + // @@protoc_insertion_point(field_mutable_list:datacatalog.GetOrExtendReservationsRequest.reservations) + return &reservations_; +} +inline const ::datacatalog::GetOrExtendReservationRequest& GetOrExtendReservationsRequest::reservations(int index) const { + // @@protoc_insertion_point(field_get:datacatalog.GetOrExtendReservationsRequest.reservations) + return reservations_.Get(index); +} +inline ::datacatalog::GetOrExtendReservationRequest* GetOrExtendReservationsRequest::add_reservations() { + // @@protoc_insertion_point(field_add:datacatalog.GetOrExtendReservationsRequest.reservations) + return reservations_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::GetOrExtendReservationRequest >& +GetOrExtendReservationsRequest::reservations() const { + // @@protoc_insertion_point(field_list:datacatalog.GetOrExtendReservationsRequest.reservations) + return reservations_; +} + +// ------------------------------------------------------------------- + // Reservation // .datacatalog.ReservationID reservation_id = 1; @@ -7319,6 +8409,40 @@ inline void GetOrExtendReservationResponse::set_allocated_reservation(::datacata // ------------------------------------------------------------------- +// GetOrExtendReservationsResponse + +// repeated .datacatalog.Reservation reservations = 1; +inline int GetOrExtendReservationsResponse::reservations_size() const { + return reservations_.size(); +} +inline void GetOrExtendReservationsResponse::clear_reservations() { + reservations_.Clear(); +} +inline ::datacatalog::Reservation* GetOrExtendReservationsResponse::mutable_reservations(int index) { + // @@protoc_insertion_point(field_mutable:datacatalog.GetOrExtendReservationsResponse.reservations) + return reservations_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::datacatalog::Reservation >* +GetOrExtendReservationsResponse::mutable_reservations() { + // @@protoc_insertion_point(field_mutable_list:datacatalog.GetOrExtendReservationsResponse.reservations) + return &reservations_; +} +inline const ::datacatalog::Reservation& GetOrExtendReservationsResponse::reservations(int index) const { + // @@protoc_insertion_point(field_get:datacatalog.GetOrExtendReservationsResponse.reservations) + return reservations_.Get(index); +} +inline ::datacatalog::Reservation* GetOrExtendReservationsResponse::add_reservations() { + // @@protoc_insertion_point(field_add:datacatalog.GetOrExtendReservationsResponse.reservations) + return reservations_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::Reservation >& +GetOrExtendReservationsResponse::reservations() const { + // @@protoc_insertion_point(field_list:datacatalog.GetOrExtendReservationsResponse.reservations) + return reservations_; +} + +// ------------------------------------------------------------------- + // ReleaseReservationRequest // .datacatalog.ReservationID reservation_id = 1; @@ -7427,6 +8551,40 @@ inline void ReleaseReservationRequest::set_allocated_owner_id(::std::string* own // ------------------------------------------------------------------- +// ReleaseReservationsRequest + +// repeated .datacatalog.ReleaseReservationRequest reservations = 1; +inline int ReleaseReservationsRequest::reservations_size() const { + return reservations_.size(); +} +inline void ReleaseReservationsRequest::clear_reservations() { + reservations_.Clear(); +} +inline ::datacatalog::ReleaseReservationRequest* ReleaseReservationsRequest::mutable_reservations(int index) { + // @@protoc_insertion_point(field_mutable:datacatalog.ReleaseReservationsRequest.reservations) + return reservations_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::datacatalog::ReleaseReservationRequest >* +ReleaseReservationsRequest::mutable_reservations() { + // @@protoc_insertion_point(field_mutable_list:datacatalog.ReleaseReservationsRequest.reservations) + return &reservations_; +} +inline const ::datacatalog::ReleaseReservationRequest& ReleaseReservationsRequest::reservations(int index) const { + // @@protoc_insertion_point(field_get:datacatalog.ReleaseReservationsRequest.reservations) + return reservations_.Get(index); +} +inline ::datacatalog::ReleaseReservationRequest* ReleaseReservationsRequest::add_reservations() { + // @@protoc_insertion_point(field_add:datacatalog.ReleaseReservationsRequest.reservations) + return reservations_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::datacatalog::ReleaseReservationRequest >& +ReleaseReservationsRequest::reservations() const { + // @@protoc_insertion_point(field_list:datacatalog.ReleaseReservationsRequest.reservations) + return reservations_; +} + +// ------------------------------------------------------------------- + // ReleaseReservationResponse // ------------------------------------------------------------------- @@ -9721,6 +10879,18 @@ inline void PaginationOptions::set_sortorder(::datacatalog::PaginationOptions_So // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/gen/pb-cpp/flyteidl/service/admin.pb.cc b/gen/pb-cpp/flyteidl/service/admin.pb.cc index 6d96c762a..781c94f37 100644 --- a/gen/pb-cpp/flyteidl/service/admin.pb.cc +++ b/gen/pb-cpp/flyteidl/service/admin.pb.cc @@ -52,263 +52,262 @@ const char descriptor_table_protodef_flyteidl_2fservice_2fadmin_2eproto[] = "admin/task_execution.proto\032\034flyteidl/adm" "in/version.proto\032\033flyteidl/admin/common." "proto\032\'flyteidl/admin/description_entity" - ".proto\032\036flyteidl/core/identifier.proto2\274" - "L\n\014AdminService\022m\n\nCreateTask\022!.flyteidl" - ".admin.TaskCreateRequest\032\".flyteidl.admi" - "n.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/api/v1/ta" - "sks:\001*\022\210\001\n\007GetTask\022 .flyteidl.admin.Obje" - "ctGetRequest\032\024.flyteidl.admin.Task\"E\202\323\344\223" - "\002\?\022=/api/v1/tasks/{id.project}/{id.domai" - "n}/{id.name}/{id.version}\022\227\001\n\013ListTaskId" - "s\0220.flyteidl.admin.NamedEntityIdentifier" - "ListRequest\032).flyteidl.admin.NamedEntity" - "IdentifierList\"+\202\323\344\223\002%\022#/api/v1/task_ids" - "/{project}/{domain}\022\256\001\n\tListTasks\022#.flyt" - "eidl.admin.ResourceListRequest\032\030.flyteid" - "l.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v1/tasks/" - "{id.project}/{id.domain}/{id.name}Z(\022&/a" - "pi/v1/tasks/{id.project}/{id.domain}\022}\n\016" - "CreateWorkflow\022%.flyteidl.admin.Workflow" - "CreateRequest\032&.flyteidl.admin.WorkflowC" - "reateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/workflows" - ":\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.admin.Obj" - "ectGetRequest\032\030.flyteidl.admin.Workflow\"" - "I\202\323\344\223\002C\022A/api/v1/workflows/{id.project}/" - "{id.domain}/{id.name}/{id.version}\022\237\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}\022\276\001\n" - "\rListWorkflows\022#.flyteidl.admin.Resource" - "ListRequest\032\034.flyteidl.admin.WorkflowLis" - "t\"j\202\323\344\223\002d\0224/api/v1/workflows/{id.project" - "}/{id.domain}/{id.name}Z,\022*/api/v1/workf" - "lows/{id.project}/{id.domain}\022\206\001\n\020Create" - "LaunchPlan\022\'.flyteidl.admin.LaunchPlanCr" - "eateRequest\032(.flyteidl.admin.LaunchPlanC" - "reateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/launch_pl" - "ans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyteidl.admi" - "n.ObjectGetRequest\032\032.flyteidl.admin.Laun" - "chPlan\"L\202\323\344\223\002F\022D/api/v1/launch_plans/{id" - ".project}/{id.domain}/{id.name}/{id.vers" - "ion}\022\242\001\n\023GetActiveLaunchPlan\022\'.flyteidl." - "admin.ActiveLaunchPlanRequest\032\032.flyteidl" - ".admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/v1/activ" - "e_launch_plans/{id.project}/{id.domain}/" - "{id.name}\022\234\001\n\025ListActiveLaunchPlans\022+.fl" - "yteidl.admin.ActiveLaunchPlanListRequest" - "\032\036.flyteidl.admin.LaunchPlanList\"6\202\323\344\223\0020" - "\022./api/v1/active_launch_plans/{project}/" - "{domain}\022\244\001\n\021ListLaunchPlanIds\0220.flyteid" - "l.admin.NamedEntityIdentifierListRequest" - "\032).flyteidl.admin.NamedEntityIdentifierL" - "ist\"2\202\323\344\223\002,\022*/api/v1/launch_plan_ids/{pr" - "oject}/{domain}\022\310\001\n\017ListLaunchPlans\022#.fl" - "yteidl.admin.ResourceListRequest\032\036.flyte" - "idl.admin.LaunchPlanList\"p\202\323\344\223\002j\0227/api/v" - "1/launch_plans/{id.project}/{id.domain}/" - "{id.name}Z/\022-/api/v1/launch_plans/{id.pr" - "oject}/{id.domain}\022\266\001\n\020UpdateLaunchPlan\022" - "\'.flyteidl.admin.LaunchPlanUpdateRequest" - "\032(.flyteidl.admin.LaunchPlanUpdateRespon" - "se\"O\202\323\344\223\002I\032D/api/v1/launch_plans/{id.pro" + ".proto2\274L\n\014AdminService\022m\n\nCreateTask\022!." + "flyteidl.admin.TaskCreateRequest\032\".flyte" + "idl.admin.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/a" + "pi/v1/tasks:\001*\022\210\001\n\007GetTask\022 .flyteidl.ad" + "min.ObjectGetRequest\032\024.flyteidl.admin.Ta" + "sk\"E\202\323\344\223\002\?\022=/api/v1/tasks/{id.project}/{" + "id.domain}/{id.name}/{id.version}\022\227\001\n\013Li" + "stTaskIds\0220.flyteidl.admin.NamedEntityId" + "entifierListRequest\032).flyteidl.admin.Nam" + "edEntityIdentifierList\"+\202\323\344\223\002%\022#/api/v1/" + "task_ids/{project}/{domain}\022\256\001\n\tListTask" + "s\022#.flyteidl.admin.ResourceListRequest\032\030" + ".flyteidl.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v" + "1/tasks/{id.project}/{id.domain}/{id.nam" + "e}Z(\022&/api/v1/tasks/{id.project}/{id.dom" + "ain}\022}\n\016CreateWorkflow\022%.flyteidl.admin." + "WorkflowCreateRequest\032&.flyteidl.admin.W" + "orkflowCreateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/w" + "orkflows:\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.a" + "dmin.ObjectGetRequest\032\030.flyteidl.admin.W" + "orkflow\"I\202\323\344\223\002C\022A/api/v1/workflows/{id.p" + "roject}/{id.domain}/{id.name}/{id.versio" + "n}\022\237\001\n\017ListWorkflowIds\0220.flyteidl.admin." + "NamedEntityIdentifierListRequest\032).flyte" + "idl.admin.NamedEntityIdentifierList\"/\202\323\344" + "\223\002)\022\'/api/v1/workflow_ids/{project}/{dom" + "ain}\022\276\001\n\rListWorkflows\022#.flyteidl.admin." + "ResourceListRequest\032\034.flyteidl.admin.Wor" + "kflowList\"j\202\323\344\223\002d\0224/api/v1/workflows/{id" + ".project}/{id.domain}/{id.name}Z,\022*/api/" + "v1/workflows/{id.project}/{id.domain}\022\206\001" + "\n\020CreateLaunchPlan\022\'.flyteidl.admin.Laun" + "chPlanCreateRequest\032(.flyteidl.admin.Lau" + "nchPlanCreateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/l" + "aunch_plans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyte" + "idl.admin.ObjectGetRequest\032\032.flyteidl.ad" + "min.LaunchPlan\"L\202\323\344\223\002F\022D/api/v1/launch_p" + "lans/{id.project}/{id.domain}/{id.name}/" + "{id.version}\022\242\001\n\023GetActiveLaunchPlan\022\'.f" + "lyteidl.admin.ActiveLaunchPlanRequest\032\032." + "flyteidl.admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/" + "v1/active_launch_plans/{id.project}/{id." + "domain}/{id.name}\022\234\001\n\025ListActiveLaunchPl" + "ans\022+.flyteidl.admin.ActiveLaunchPlanLis" + "tRequest\032\036.flyteidl.admin.LaunchPlanList" + "\"6\202\323\344\223\0020\022./api/v1/active_launch_plans/{p" + "roject}/{domain}\022\244\001\n\021ListLaunchPlanIds\0220" + ".flyteidl.admin.NamedEntityIdentifierLis" + "tRequest\032).flyteidl.admin.NamedEntityIde" + "ntifierList\"2\202\323\344\223\002,\022*/api/v1/launch_plan" + "_ids/{project}/{domain}\022\310\001\n\017ListLaunchPl" + "ans\022#.flyteidl.admin.ResourceListRequest" + "\032\036.flyteidl.admin.LaunchPlanList\"p\202\323\344\223\002j" + "\0227/api/v1/launch_plans/{id.project}/{id." + "domain}/{id.name}Z/\022-/api/v1/launch_plan" + "s/{id.project}/{id.domain}\022\266\001\n\020UpdateLau" + "nchPlan\022\'.flyteidl.admin.LaunchPlanUpdat" + "eRequest\032(.flyteidl.admin.LaunchPlanUpda" + "teResponse\"O\202\323\344\223\002I\032D/api/v1/launch_plans" + "/{id.project}/{id.domain}/{id.name}/{id." + "version}:\001*\022\201\001\n\017CreateExecution\022&.flytei" + "dl.admin.ExecutionCreateRequest\032\'.flytei" + "dl.admin.ExecutionCreateResponse\"\035\202\323\344\223\002\027" + "\"\022/api/v1/executions:\001*\022\216\001\n\021RelaunchExec" + "ution\022(.flyteidl.admin.ExecutionRelaunch" + "Request\032\'.flyteidl.admin.ExecutionCreate" + "Response\"&\202\323\344\223\002 \"\033/api/v1/executions/rel" + "aunch:\001*\022\213\001\n\020RecoverExecution\022\'.flyteidl" + ".admin.ExecutionRecoverRequest\032\'.flyteid" + "l.admin.ExecutionCreateResponse\"%\202\323\344\223\002\037\"" + "\032/api/v1/executions/recover:\001*\022\225\001\n\014GetEx" + "ecution\022+.flyteidl.admin.WorkflowExecuti" + "onGetRequest\032\031.flyteidl.admin.Execution\"" + "=\202\323\344\223\0027\0225/api/v1/executions/{id.project}" + "/{id.domain}/{id.name}\022\244\001\n\017UpdateExecuti" + "on\022&.flyteidl.admin.ExecutionUpdateReque" + "st\032\'.flyteidl.admin.ExecutionUpdateRespo" + "nse\"@\202\323\344\223\002:\0325/api/v1/executions/{id.proj" + "ect}/{id.domain}/{id.name}:\001*\022\271\001\n\020GetExe" + "cutionData\022/.flyteidl.admin.WorkflowExec" + "utionGetDataRequest\0320.flyteidl.admin.Wor" + "kflowExecutionGetDataResponse\"B\202\323\344\223\002<\022:/" + "api/v1/data/executions/{id.project}/{id." + "domain}/{id.name}\022\211\001\n\016ListExecutions\022#.f" + "lyteidl.admin.ResourceListRequest\032\035.flyt" + "eidl.admin.ExecutionList\"3\202\323\344\223\002-\022+/api/v" + "1/executions/{id.project}/{id.domain}\022\255\001" + "\n\022TerminateExecution\022).flyteidl.admin.Ex" + "ecutionTerminateRequest\032*.flyteidl.admin" + ".ExecutionTerminateResponse\"@\202\323\344\223\002:*5/ap" + "i/v1/executions/{id.project}/{id.domain}" + "/{id.name}:\001*\022\322\001\n\020GetNodeExecution\022\'.fly" + "teidl.admin.NodeExecutionGetRequest\032\035.fl" + "yteidl.admin.NodeExecution\"v\202\323\344\223\002p\022n/api" + "/v1/node_executions/{id.execution_id.pro" + "ject}/{id.execution_id.domain}/{id.execu" + "tion_id.name}/{id.node_id}\022\336\001\n\022ListNodeE" + "xecutions\022(.flyteidl.admin.NodeExecution" + "ListRequest\032!.flyteidl.admin.NodeExecuti" + "onList\"{\202\323\344\223\002u\022s/api/v1/node_executions/" + "{workflow_execution_id.project}/{workflo" + "w_execution_id.domain}/{workflow_executi" + "on_id.name}\022\245\004\n\031ListNodeExecutionsForTas" + "k\022/.flyteidl.admin.NodeExecutionForTaskL" + "istRequest\032!.flyteidl.admin.NodeExecutio" + "nList\"\263\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_" + "executions/{task_execution_id.node_execu" + "tion_id.execution_id.project}/{task_exec" + "ution_id.node_execution_id.execution_id." + "domain}/{task_execution_id.node_executio" + "n_id.execution_id.name}/{task_execution_" + "id.node_execution_id.node_id}/{task_exec" + "ution_id.task_id.project}/{task_executio" + "n_id.task_id.domain}/{task_execution_id." + "task_id.name}/{task_execution_id.task_id" + ".version}/{task_execution_id.retry_attem" + "pt}\022\356\001\n\024GetNodeExecutionData\022+.flyteidl." + "admin.NodeExecutionGetDataRequest\032,.flyt" + "eidl.admin.NodeExecutionGetDataResponse\"" + "{\202\323\344\223\002u\022s/api/v1/data/node_executions/{i" + "d.execution_id.project}/{id.execution_id" + ".domain}/{id.execution_id.name}/{id.node" + "_id}\022\177\n\017RegisterProject\022&.flyteidl.admin" + ".ProjectRegisterRequest\032\'.flyteidl.admin" + ".ProjectRegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v" + "1/projects:\001*\022q\n\rUpdateProject\022\027.flyteid" + "l.admin.Project\032%.flyteidl.admin.Project" + "UpdateResponse\" \202\323\344\223\002\032\032\025/api/v1/projects" + "/{id}:\001*\022f\n\014ListProjects\022\".flyteidl.admi" + "n.ProjectListRequest\032\030.flyteidl.admin.Pr" + "ojects\"\030\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023Cre" + "ateWorkflowEvent\022-.flyteidl.admin.Workfl" + "owExecutionEventRequest\032..flyteidl.admin" + ".WorkflowExecutionEventResponse\"#\202\323\344\223\002\035\"" + "\030/api/v1/events/workflows:\001*\022\211\001\n\017CreateN" + "odeEvent\022).flyteidl.admin.NodeExecutionE" + "ventRequest\032*.flyteidl.admin.NodeExecuti" + "onEventResponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/" + "nodes:\001*\022\211\001\n\017CreateTaskEvent\022).flyteidl." + "admin.TaskExecutionEventRequest\032*.flytei" + "dl.admin.TaskExecutionEventResponse\"\037\202\323\344" + "\223\002\031\"\024/api/v1/events/tasks:\001*\022\200\003\n\020GetTask" + "Execution\022\'.flyteidl.admin.TaskExecution" + "GetRequest\032\035.flyteidl.admin.TaskExecutio" + "n\"\243\002\202\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{i" + "d.node_execution_id.execution_id.project" + "}/{id.node_execution_id.execution_id.dom" + "ain}/{id.node_execution_id.execution_id." + "name}/{id.node_execution_id.node_id}/{id" + ".task_id.project}/{id.task_id.domain}/{i" + "d.task_id.name}/{id.task_id.version}/{id" + ".retry_attempt}\022\230\002\n\022ListTaskExecutions\022(" + ".flyteidl.admin.TaskExecutionListRequest" + "\032!.flyteidl.admin.TaskExecutionList\"\264\001\202\323" + "\344\223\002\255\001\022\252\001/api/v1/task_executions/{node_ex" + "ecution_id.execution_id.project}/{node_e" + "xecution_id.execution_id.domain}/{node_e" + "xecution_id.execution_id.name}/{node_exe" + "cution_id.node_id}\022\234\003\n\024GetTaskExecutionD" + "ata\022+.flyteidl.admin.TaskExecutionGetDat" + "aRequest\032,.flyteidl.admin.TaskExecutionG" + "etDataResponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/" + "task_executions/{id.node_execution_id.ex" + "ecution_id.project}/{id.node_execution_i" + "d.execution_id.domain}/{id.node_executio" + "n_id.execution_id.name}/{id.node_executi" + "on_id.node_id}/{id.task_id.project}/{id." + "task_id.domain}/{id.task_id.name}/{id.ta" + "sk_id.version}/{id.retry_attempt}\022\343\001\n\035Up" + "dateProjectDomainAttributes\0224.flyteidl.a" + "dmin.ProjectDomainAttributesUpdateReques" + "t\0325.flyteidl.admin.ProjectDomainAttribut" + "esUpdateResponse\"U\202\323\344\223\002O\032J/api/v1/projec" + "t_domain_attributes/{attributes.project}" + "/{attributes.domain}:\001*\022\301\001\n\032GetProjectDo" + "mainAttributes\0221.flyteidl.admin.ProjectD" + "omainAttributesGetRequest\0322.flyteidl.adm" + "in.ProjectDomainAttributesGetResponse\"<\202" + "\323\344\223\0026\0224/api/v1/project_domain_attributes" + "/{project}/{domain}\022\315\001\n\035DeleteProjectDom" + "ainAttributes\0224.flyteidl.admin.ProjectDo" + "mainAttributesDeleteRequest\0325.flyteidl.a" + "dmin.ProjectDomainAttributesDeleteRespon" + "se\"\?\202\323\344\223\0029*4/api/v1/project_domain_attri" + "butes/{project}/{domain}:\001*\022\266\001\n\027UpdatePr" + "ojectAttributes\022..flyteidl.admin.Project" + "AttributesUpdateRequest\032/.flyteidl.admin" + ".ProjectAttributesUpdateResponse\":\202\323\344\223\0024" + "\032//api/v1/project_attributes/{attributes" + ".project}:\001*\022\237\001\n\024GetProjectAttributes\022+." + "flyteidl.admin.ProjectAttributesGetReque" + "st\032,.flyteidl.admin.ProjectAttributesGet" + "Response\",\202\323\344\223\002&\022$/api/v1/project_attrib" + "utes/{project}\022\253\001\n\027DeleteProjectAttribut" + "es\022..flyteidl.admin.ProjectAttributesDel" + "eteRequest\032/.flyteidl.admin.ProjectAttri" + "butesDeleteResponse\"/\202\323\344\223\002)*$/api/v1/pro" + "ject_attributes/{project}:\001*\022\344\001\n\030UpdateW" + "orkflowAttributes\022/.flyteidl.admin.Workf" + "lowAttributesUpdateRequest\0320.flyteidl.ad" + "min.WorkflowAttributesUpdateResponse\"e\202\323" + "\344\223\002_\032Z/api/v1/workflow_attributes/{attri" + "butes.project}/{attributes.domain}/{attr" + "ibutes.workflow}:\001*\022\267\001\n\025GetWorkflowAttri" + "butes\022,.flyteidl.admin.WorkflowAttribute" + "sGetRequest\032-.flyteidl.admin.WorkflowAtt" + "ributesGetResponse\"A\202\323\344\223\002;\0229/api/v1/work" + "flow_attributes/{project}/{domain}/{work" + "flow}\022\303\001\n\030DeleteWorkflowAttributes\022/.fly" + "teidl.admin.WorkflowAttributesDeleteRequ" + "est\0320.flyteidl.admin.WorkflowAttributesD" + "eleteResponse\"D\202\323\344\223\002>*9/api/v1/workflow_" + "attributes/{project}/{domain}/{workflow}" + ":\001*\022\240\001\n\027ListMatchableAttributes\022..flytei" + "dl.admin.ListMatchableAttributesRequest\032" + "/.flyteidl.admin.ListMatchableAttributes" + "Response\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attr" + "ibutes\022\237\001\n\021ListNamedEntities\022&.flyteidl." + "admin.NamedEntityListRequest\032\037.flyteidl." + "admin.NamedEntityList\"A\202\323\344\223\002;\0229/api/v1/n" + "amed_entities/{resource_type}/{project}/" + "{domain}\022\247\001\n\016GetNamedEntity\022%.flyteidl.a" + "dmin.NamedEntityGetRequest\032\033.flyteidl.ad" + "min.NamedEntity\"Q\202\323\344\223\002K\022I/api/v1/named_e" + "ntities/{resource_type}/{id.project}/{id" + ".domain}/{id.name}\022\276\001\n\021UpdateNamedEntity" + "\022(.flyteidl.admin.NamedEntityUpdateReque" + "st\032).flyteidl.admin.NamedEntityUpdateRes" + "ponse\"T\202\323\344\223\002N\032I/api/v1/named_entities/{r" + "esource_type}/{id.project}/{id.domain}/{" + "id.name}:\001*\022l\n\nGetVersion\022!.flyteidl.adm" + "in.GetVersionRequest\032\".flyteidl.admin.Ge" + "tVersionResponse\"\027\202\323\344\223\002\021\022\017/api/v1/versio" + "n\022\304\001\n\024GetDescriptionEntity\022 .flyteidl.ad" + "min.ObjectGetRequest\032!.flyteidl.admin.De" + "scriptionEntity\"g\202\323\344\223\002a\022_/api/v1/descrip" + "tion_entities/{id.resource_type}/{id.pro" "ject}/{id.domain}/{id.name}/{id.version}" - ":\001*\022\201\001\n\017CreateExecution\022&.flyteidl.admin" - ".ExecutionCreateRequest\032\'.flyteidl.admin" - ".ExecutionCreateResponse\"\035\202\323\344\223\002\027\"\022/api/v" - "1/executions:\001*\022\216\001\n\021RelaunchExecution\022(." - "flyteidl.admin.ExecutionRelaunchRequest\032" - "\'.flyteidl.admin.ExecutionCreateResponse" - "\"&\202\323\344\223\002 \"\033/api/v1/executions/relaunch:\001*" - "\022\213\001\n\020RecoverExecution\022\'.flyteidl.admin.E" - "xecutionRecoverRequest\032\'.flyteidl.admin." - "ExecutionCreateResponse\"%\202\323\344\223\002\037\"\032/api/v1" - "/executions/recover:\001*\022\225\001\n\014GetExecution\022" - "+.flyteidl.admin.WorkflowExecutionGetReq" - "uest\032\031.flyteidl.admin.Execution\"=\202\323\344\223\0027\022" - "5/api/v1/executions/{id.project}/{id.dom" - "ain}/{id.name}\022\244\001\n\017UpdateExecution\022&.fly" - "teidl.admin.ExecutionUpdateRequest\032\'.fly" - "teidl.admin.ExecutionUpdateResponse\"@\202\323\344" - "\223\002:\0325/api/v1/executions/{id.project}/{id" - ".domain}/{id.name}:\001*\022\271\001\n\020GetExecutionDa" - "ta\022/.flyteidl.admin.WorkflowExecutionGet" - "DataRequest\0320.flyteidl.admin.WorkflowExe" - "cutionGetDataResponse\"B\202\323\344\223\002<\022:/api/v1/d" - "ata/executions/{id.project}/{id.domain}/" - "{id.name}\022\211\001\n\016ListExecutions\022#.flyteidl." - "admin.ResourceListRequest\032\035.flyteidl.adm" - "in.ExecutionList\"3\202\323\344\223\002-\022+/api/v1/execut" - "ions/{id.project}/{id.domain}\022\255\001\n\022Termin" - "ateExecution\022).flyteidl.admin.ExecutionT" - "erminateRequest\032*.flyteidl.admin.Executi" - "onTerminateResponse\"@\202\323\344\223\002:*5/api/v1/exe" - "cutions/{id.project}/{id.domain}/{id.nam" - "e}:\001*\022\322\001\n\020GetNodeExecution\022\'.flyteidl.ad" - "min.NodeExecutionGetRequest\032\035.flyteidl.a" - "dmin.NodeExecution\"v\202\323\344\223\002p\022n/api/v1/node" - "_executions/{id.execution_id.project}/{i" - "d.execution_id.domain}/{id.execution_id." - "name}/{id.node_id}\022\336\001\n\022ListNodeExecution" - "s\022(.flyteidl.admin.NodeExecutionListRequ" - "est\032!.flyteidl.admin.NodeExecutionList\"{" - "\202\323\344\223\002u\022s/api/v1/node_executions/{workflo" - "w_execution_id.project}/{workflow_execut" - "ion_id.domain}/{workflow_execution_id.na" - "me}\022\245\004\n\031ListNodeExecutionsForTask\022/.flyt" - "eidl.admin.NodeExecutionForTaskListReque" - "st\032!.flyteidl.admin.NodeExecutionList\"\263\003" - "\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_executio" - "ns/{task_execution_id.node_execution_id." - "execution_id.project}/{task_execution_id" - ".node_execution_id.execution_id.domain}/" - "{task_execution_id.node_execution_id.exe" - "cution_id.name}/{task_execution_id.node_" - "execution_id.node_id}/{task_execution_id" - ".task_id.project}/{task_execution_id.tas" - "k_id.domain}/{task_execution_id.task_id." - "name}/{task_execution_id.task_id.version" - "}/{task_execution_id.retry_attempt}\022\356\001\n\024" - "GetNodeExecutionData\022+.flyteidl.admin.No" - "deExecutionGetDataRequest\032,.flyteidl.adm" - "in.NodeExecutionGetDataResponse\"{\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}\022\177\n\017" - "RegisterProject\022&.flyteidl.admin.Project" - "RegisterRequest\032\'.flyteidl.admin.Project" - "RegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v1/projec" - "ts:\001*\022q\n\rUpdateProject\022\027.flyteidl.admin." - "Project\032%.flyteidl.admin.ProjectUpdateRe" - "sponse\" \202\323\344\223\002\032\032\025/api/v1/projects/{id}:\001*" - "\022f\n\014ListProjects\022\".flyteidl.admin.Projec" - "tListRequest\032\030.flyteidl.admin.Projects\"\030" - "\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023CreateWorkf" - "lowEvent\022-.flyteidl.admin.WorkflowExecut" - "ionEventRequest\032..flyteidl.admin.Workflo" - "wExecutionEventResponse\"#\202\323\344\223\002\035\"\030/api/v1" - "/events/workflows:\001*\022\211\001\n\017CreateNodeEvent" - "\022).flyteidl.admin.NodeExecutionEventRequ" - "est\032*.flyteidl.admin.NodeExecutionEventR" - "esponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*" - "\022\211\001\n\017CreateTaskEvent\022).flyteidl.admin.Ta" - "skExecutionEventRequest\032*.flyteidl.admin" - ".TaskExecutionEventResponse\"\037\202\323\344\223\002\031\"\024/ap" - "i/v1/events/tasks:\001*\022\200\003\n\020GetTaskExecutio" - "n\022\'.flyteidl.admin.TaskExecutionGetReque" - "st\032\035.flyteidl.admin.TaskExecution\"\243\002\202\323\344\223" - "\002\234\002\022\231\002/api/v1/task_executions/{id.node_e" - "xecution_id.execution_id.project}/{id.no" - "de_execution_id.execution_id.domain}/{id" - ".node_execution_id.execution_id.name}/{i" - "d.node_execution_id.node_id}/{id.task_id" - ".project}/{id.task_id.domain}/{id.task_i" - "d.name}/{id.task_id.version}/{id.retry_a" - "ttempt}\022\230\002\n\022ListTaskExecutions\022(.flyteid" - "l.admin.TaskExecutionListRequest\032!.flyte" - "idl.admin.TaskExecutionList\"\264\001\202\323\344\223\002\255\001\022\252\001" - "/api/v1/task_executions/{node_execution_" - "id.execution_id.project}/{node_execution" - "_id.execution_id.domain}/{node_execution" - "_id.execution_id.name}/{node_execution_i" - "d.node_id}\022\234\003\n\024GetTaskExecutionData\022+.fl" - "yteidl.admin.TaskExecutionGetDataRequest" - "\032,.flyteidl.admin.TaskExecutionGetDataRe" - "sponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/task_exe" - "cutions/{id.node_execution_id.execution_" - "id.project}/{id.node_execution_id.execut" - "ion_id.domain}/{id.node_execution_id.exe" - "cution_id.name}/{id.node_execution_id.no" - "de_id}/{id.task_id.project}/{id.task_id." - "domain}/{id.task_id.name}/{id.task_id.ve" - "rsion}/{id.retry_attempt}\022\343\001\n\035UpdateProj" - "ectDomainAttributes\0224.flyteidl.admin.Pro" - "jectDomainAttributesUpdateRequest\0325.flyt" - "eidl.admin.ProjectDomainAttributesUpdate" - "Response\"U\202\323\344\223\002O\032J/api/v1/project_domain" - "_attributes/{attributes.project}/{attrib" - "utes.domain}:\001*\022\301\001\n\032GetProjectDomainAttr" - "ibutes\0221.flyteidl.admin.ProjectDomainAtt" - "ributesGetRequest\0322.flyteidl.admin.Proje" - "ctDomainAttributesGetResponse\"<\202\323\344\223\0026\0224/" - "api/v1/project_domain_attributes/{projec" - "t}/{domain}\022\315\001\n\035DeleteProjectDomainAttri" - "butes\0224.flyteidl.admin.ProjectDomainAttr" - "ibutesDeleteRequest\0325.flyteidl.admin.Pro" - "jectDomainAttributesDeleteResponse\"\?\202\323\344\223" - "\0029*4/api/v1/project_domain_attributes/{p" - "roject}/{domain}:\001*\022\266\001\n\027UpdateProjectAtt" - "ributes\022..flyteidl.admin.ProjectAttribut" - "esUpdateRequest\032/.flyteidl.admin.Project" - "AttributesUpdateResponse\":\202\323\344\223\0024\032//api/v" - "1/project_attributes/{attributes.project" - "}:\001*\022\237\001\n\024GetProjectAttributes\022+.flyteidl" - ".admin.ProjectAttributesGetRequest\032,.fly" - "teidl.admin.ProjectAttributesGetResponse" - "\",\202\323\344\223\002&\022$/api/v1/project_attributes/{pr" - "oject}\022\253\001\n\027DeleteProjectAttributes\022..fly" - "teidl.admin.ProjectAttributesDeleteReque" - "st\032/.flyteidl.admin.ProjectAttributesDel" - "eteResponse\"/\202\323\344\223\002)*$/api/v1/project_att" - "ributes/{project}:\001*\022\344\001\n\030UpdateWorkflowA" - "ttributes\022/.flyteidl.admin.WorkflowAttri" - "butesUpdateRequest\0320.flyteidl.admin.Work" - "flowAttributesUpdateResponse\"e\202\323\344\223\002_\032Z/a" - "pi/v1/workflow_attributes/{attributes.pr" - "oject}/{attributes.domain}/{attributes.w" - "orkflow}:\001*\022\267\001\n\025GetWorkflowAttributes\022,." - "flyteidl.admin.WorkflowAttributesGetRequ" - "est\032-.flyteidl.admin.WorkflowAttributesG" - "etResponse\"A\202\323\344\223\002;\0229/api/v1/workflow_att" - "ributes/{project}/{domain}/{workflow}\022\303\001" - "\n\030DeleteWorkflowAttributes\022/.flyteidl.ad" - "min.WorkflowAttributesDeleteRequest\0320.fl" - "yteidl.admin.WorkflowAttributesDeleteRes" - "ponse\"D\202\323\344\223\002>*9/api/v1/workflow_attribut" - "es/{project}/{domain}/{workflow}:\001*\022\240\001\n\027" - "ListMatchableAttributes\022..flyteidl.admin" - ".ListMatchableAttributesRequest\032/.flytei" - "dl.admin.ListMatchableAttributesResponse" - "\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attributes\022\237" - "\001\n\021ListNamedEntities\022&.flyteidl.admin.Na" - "medEntityListRequest\032\037.flyteidl.admin.Na" - "medEntityList\"A\202\323\344\223\002;\0229/api/v1/named_ent" - "ities/{resource_type}/{project}/{domain}" - "\022\247\001\n\016GetNamedEntity\022%.flyteidl.admin.Nam" - "edEntityGetRequest\032\033.flyteidl.admin.Name" - "dEntity\"Q\202\323\344\223\002K\022I/api/v1/named_entities/" - "{resource_type}/{id.project}/{id.domain}" - "/{id.name}\022\276\001\n\021UpdateNamedEntity\022(.flyte" - "idl.admin.NamedEntityUpdateRequest\032).fly" - "teidl.admin.NamedEntityUpdateResponse\"T\202" - "\323\344\223\002N\032I/api/v1/named_entities/{resource_" - "type}/{id.project}/{id.domain}/{id.name}" - ":\001*\022l\n\nGetVersion\022!.flyteidl.admin.GetVe" - "rsionRequest\032\".flyteidl.admin.GetVersion" - "Response\"\027\202\323\344\223\002\021\022\017/api/v1/version\022\304\001\n\024Ge" - "tDescriptionEntity\022 .flyteidl.admin.Obje" - "ctGetRequest\032!.flyteidl.admin.Descriptio" - "nEntity\"g\202\323\344\223\002a\022_/api/v1/description_ent" - "ities/{id.resource_type}/{id.project}/{i" - "d.domain}/{id.name}/{id.version}\022\222\002\n\027Lis" - "tDescriptionEntities\022,.flyteidl.admin.De" - "scriptionEntityListRequest\032%.flyteidl.ad" - "min.DescriptionEntityList\"\241\001\202\323\344\223\002\232\001\022O/ap" - "i/v1/description_entities/{resource_type" - "}/{id.project}/{id.domain}/{id.name}ZG\022E" - "/api/v1/description_entities/{resource_t" - "ype}/{id.project}/{id.domain}B9Z7github." - "com/flyteorg/flyteidl/gen/pb-go/flyteidl" - "/serviceb\006proto3" + "\022\222\002\n\027ListDescriptionEntities\022,.flyteidl." + "admin.DescriptionEntityListRequest\032%.fly" + "teidl.admin.DescriptionEntityList\"\241\001\202\323\344\223" + "\002\232\001\022O/api/v1/description_entities/{resou" + "rce_type}/{id.project}/{id.domain}/{id.n" + "ame}ZG\022E/api/v1/description_entities/{re" + "source_type}/{id.project}/{id.domain}B9Z" + "7github.com/flyteorg/flyteidl/gen/pb-go/" + "flyteidl/serviceb\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, 10496, + "flyteidl/service/admin.proto", &assign_descriptors_table_flyteidl_2fservice_2fadmin_2eproto, 10464, }; void AddDescriptors_flyteidl_2fservice_2fadmin_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[17] = + static constexpr ::google::protobuf::internal::InitFunc deps[16] = { ::AddDescriptors_google_2fapi_2fannotations_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fproject_2eproto, @@ -326,9 +325,8 @@ void AddDescriptors_flyteidl_2fservice_2fadmin_2eproto() { ::AddDescriptors_flyteidl_2fadmin_2fversion_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fdescription_5fentity_2eproto, - ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fadmin_2eproto, deps, 17); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fadmin_2eproto, deps, 16); } // Force running AddDescriptors() at dynamic initialization time. diff --git a/gen/pb-cpp/flyteidl/service/admin.pb.h b/gen/pb-cpp/flyteidl/service/admin.pb.h index 0a6aec1ea..ca8c835a9 100644 --- a/gen/pb-cpp/flyteidl/service/admin.pb.h +++ b/gen/pb-cpp/flyteidl/service/admin.pb.h @@ -45,7 +45,6 @@ #include "flyteidl/admin/version.pb.h" #include "flyteidl/admin/common.pb.h" #include "flyteidl/admin/description_entity.pb.h" -#include "flyteidl/core/identifier.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fadmin_2eproto diff --git a/gen/pb-cpp/flyteidl/service/cache.grpc.pb.cc b/gen/pb-cpp/flyteidl/service/cache.grpc.pb.cc new file mode 100644 index 000000000..90e90e8e5 --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/cache.grpc.pb.cc @@ -0,0 +1,127 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/service/cache.proto + +#include "flyteidl/service/cache.pb.h" +#include "flyteidl/service/cache.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace service { + +static const char* CacheService_method_names[] = { + "/flyteidl.service.CacheService/EvictExecutionCache", + "/flyteidl.service.CacheService/EvictTaskExecutionCache", +}; + +std::unique_ptr< CacheService::Stub> CacheService::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< CacheService::Stub> stub(new CacheService::Stub(channel)); + return stub; +} + +CacheService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) + : channel_(channel), rpcmethod_EvictExecutionCache_(CacheService_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_EvictTaskExecutionCache_(CacheService_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status CacheService::Stub::EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::flyteidl::service::EvictCacheResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_EvictExecutionCache_, context, request, response); +} + +void CacheService::Stub::experimental_async::EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_EvictExecutionCache_, context, request, response, std::move(f)); +} + +void CacheService::Stub::experimental_async::EvictExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_EvictExecutionCache_, context, request, response, std::move(f)); +} + +void CacheService::Stub::experimental_async::EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_EvictExecutionCache_, context, request, response, reactor); +} + +void CacheService::Stub::experimental_async::EvictExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_EvictExecutionCache_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* CacheService::Stub::AsyncEvictExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::EvictCacheResponse>::Create(channel_.get(), cq, rpcmethod_EvictExecutionCache_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* CacheService::Stub::PrepareAsyncEvictExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::EvictCacheResponse>::Create(channel_.get(), cq, rpcmethod_EvictExecutionCache_, context, request, false); +} + +::grpc::Status CacheService::Stub::EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::flyteidl::service::EvictCacheResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_EvictTaskExecutionCache_, context, request, response); +} + +void CacheService::Stub::experimental_async::EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_EvictTaskExecutionCache_, context, request, response, std::move(f)); +} + +void CacheService::Stub::experimental_async::EvictTaskExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_EvictTaskExecutionCache_, context, request, response, std::move(f)); +} + +void CacheService::Stub::experimental_async::EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_EvictTaskExecutionCache_, context, request, response, reactor); +} + +void CacheService::Stub::experimental_async::EvictTaskExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_EvictTaskExecutionCache_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* CacheService::Stub::AsyncEvictTaskExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::EvictCacheResponse>::Create(channel_.get(), cq, rpcmethod_EvictTaskExecutionCache_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* CacheService::Stub::PrepareAsyncEvictTaskExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::service::EvictCacheResponse>::Create(channel_.get(), cq, rpcmethod_EvictTaskExecutionCache_, context, request, false); +} + +CacheService::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + CacheService_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< CacheService::Service, ::flyteidl::service::EvictExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>( + std::mem_fn(&CacheService::Service::EvictExecutionCache), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + CacheService_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< CacheService::Service, ::flyteidl::service::EvictTaskExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>( + std::mem_fn(&CacheService::Service::EvictTaskExecutionCache), this))); +} + +CacheService::Service::~Service() { +} + +::grpc::Status CacheService::Service::EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status CacheService::Service::EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace flyteidl +} // namespace service + diff --git a/gen/pb-cpp/flyteidl/service/cache.grpc.pb.h b/gen/pb-cpp/flyteidl/service/cache.grpc.pb.h new file mode 100644 index 000000000..8632f26b5 --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/cache.grpc.pb.h @@ -0,0 +1,423 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/service/cache.proto +#ifndef GRPC_flyteidl_2fservice_2fcache_2eproto__INCLUDED +#define GRPC_flyteidl_2fservice_2fcache_2eproto__INCLUDED + +#include "flyteidl/service/cache.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 service { + +// CacheService defines an RPC Service for interacting with cached data in Flyte on a high level basis. +class CacheService final { + public: + static constexpr char const* service_full_name() { + return "flyteidl.service.CacheService"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`. + virtual ::grpc::Status EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::flyteidl::service::EvictCacheResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>> AsyncEvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>>(AsyncEvictExecutionCacheRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>> PrepareAsyncEvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>>(PrepareAsyncEvictExecutionCacheRaw(context, request, cq)); + } + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`. + virtual ::grpc::Status EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::flyteidl::service::EvictCacheResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>> AsyncEvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>>(AsyncEvictTaskExecutionCacheRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>> PrepareAsyncEvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>>(PrepareAsyncEvictTaskExecutionCacheRaw(context, request, cq)); + } + class experimental_async_interface { + public: + virtual ~experimental_async_interface() {} + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`. + virtual void EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, std::function) = 0; + virtual void EvictExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, std::function) = 0; + virtual void EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void EvictExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`. + virtual void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, std::function) = 0; + virtual void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, std::function) = 0; + virtual void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + }; + virtual class experimental_async_interface* experimental_async() { return nullptr; } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>* AsyncEvictExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>* PrepareAsyncEvictExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>* AsyncEvictTaskExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::service::EvictCacheResponse>* PrepareAsyncEvictTaskExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); + ::grpc::Status EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::flyteidl::service::EvictCacheResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>> AsyncEvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>>(AsyncEvictExecutionCacheRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>> PrepareAsyncEvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>>(PrepareAsyncEvictExecutionCacheRaw(context, request, cq)); + } + ::grpc::Status EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::flyteidl::service::EvictCacheResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>> AsyncEvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>>(AsyncEvictTaskExecutionCacheRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>> PrepareAsyncEvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>>(PrepareAsyncEvictTaskExecutionCacheRaw(context, request, cq)); + } + class experimental_async final : + public StubInterface::experimental_async_interface { + public: + void EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, std::function) override; + void EvictExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, std::function) override; + void EvictExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void EvictExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, std::function) override; + void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, std::function) override; + void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void EvictTaskExecutionCache(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + private: + friend class Stub; + explicit experimental_async(Stub* stub): stub_(stub) { } + Stub* stub() { return stub_; } + Stub* stub_; + }; + class experimental_async_interface* experimental_async() override { return &async_stub_; } + + private: + std::shared_ptr< ::grpc::ChannelInterface> channel_; + class experimental_async async_stub_{this}; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* AsyncEvictExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* PrepareAsyncEvictExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* AsyncEvictTaskExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::service::EvictCacheResponse>* PrepareAsyncEvictTaskExecutionCacheRaw(::grpc::ClientContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_EvictExecutionCache_; + const ::grpc::internal::RpcMethod rpcmethod_EvictTaskExecutionCache_; + }; + static std::unique_ptr NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options = ::grpc::StubOptions()); + + class Service : public ::grpc::Service { + public: + Service(); + virtual ~Service(); + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`. + virtual ::grpc::Status EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response); + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`. + virtual ::grpc::Status EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response); + }; + template + class WithAsyncMethod_EvictExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_EvictExecutionCache() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_EvictExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestEvictExecutionCache(::grpc::ServerContext* context, ::flyteidl::service::EvictExecutionCacheRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::EvictCacheResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_EvictTaskExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_EvictTaskExecutionCache() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_EvictTaskExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestEvictTaskExecutionCache(::grpc::ServerContext* context, ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::service::EvictCacheResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + typedef WithAsyncMethod_EvictExecutionCache > AsyncService; + template + class ExperimentalWithCallbackMethod_EvictExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_EvictExecutionCache() { + ::grpc::Service::experimental().MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::EvictExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::service::EvictExecutionCacheRequest* request, + ::flyteidl::service::EvictCacheResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->EvictExecutionCache(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_EvictExecutionCache( + ::grpc::experimental::MessageAllocator< ::flyteidl::service::EvictExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::EvictExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>*>( + ::grpc::Service::experimental().GetHandler(0)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_EvictExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_EvictTaskExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_EvictTaskExecutionCache() { + ::grpc::Service::experimental().MarkMethodCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::EvictTaskExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, + ::flyteidl::service::EvictCacheResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->EvictTaskExecutionCache(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_EvictTaskExecutionCache( + ::grpc::experimental::MessageAllocator< ::flyteidl::service::EvictTaskExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::service::EvictTaskExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>*>( + ::grpc::Service::experimental().GetHandler(1)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_EvictTaskExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + typedef ExperimentalWithCallbackMethod_EvictExecutionCache > ExperimentalCallbackService; + template + class WithGenericMethod_EvictExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_EvictExecutionCache() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_EvictExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_EvictTaskExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_EvictTaskExecutionCache() { + ::grpc::Service::MarkMethodGeneric(1); + } + ~WithGenericMethod_EvictTaskExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_EvictExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_EvictExecutionCache() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_EvictExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestEvictExecutionCache(::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(0, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_EvictTaskExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_EvictTaskExecutionCache() { + ::grpc::Service::MarkMethodRaw(1); + } + ~WithRawMethod_EvictTaskExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestEvictTaskExecutionCache(::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(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class ExperimentalWithRawCallbackMethod_EvictExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_EvictExecutionCache() { + ::grpc::Service::experimental().MarkMethodRawCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->EvictExecutionCache(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_EvictExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void EvictExecutionCache(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_EvictTaskExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_EvictTaskExecutionCache() { + ::grpc::Service::experimental().MarkMethodRawCallback(1, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->EvictTaskExecutionCache(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_EvictTaskExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void EvictTaskExecutionCache(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class WithStreamedUnaryMethod_EvictExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_EvictExecutionCache() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::EvictExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>(std::bind(&WithStreamedUnaryMethod_EvictExecutionCache::StreamedEvictExecutionCache, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_EvictExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status EvictExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedEvictExecutionCache(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::EvictExecutionCacheRequest,::flyteidl::service::EvictCacheResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_EvictTaskExecutionCache : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_EvictTaskExecutionCache() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::service::EvictTaskExecutionCacheRequest, ::flyteidl::service::EvictCacheResponse>(std::bind(&WithStreamedUnaryMethod_EvictTaskExecutionCache::StreamedEvictTaskExecutionCache, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_EvictTaskExecutionCache() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status EvictTaskExecutionCache(::grpc::ServerContext* context, const ::flyteidl::service::EvictTaskExecutionCacheRequest* request, ::flyteidl::service::EvictCacheResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedEvictTaskExecutionCache(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::service::EvictTaskExecutionCacheRequest,::flyteidl::service::EvictCacheResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_EvictExecutionCache > StreamedUnaryService; + typedef Service SplitStreamedService; + typedef WithStreamedUnaryMethod_EvictExecutionCache > StreamedService; +}; + +} // namespace service +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fservice_2fcache_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/service/cache.pb.cc b/gen/pb-cpp/flyteidl/service/cache.pb.cc new file mode 100644 index 000000000..a063929c0 --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/cache.pb.cc @@ -0,0 +1,1084 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/service/cache.proto + +#include "flyteidl/service/cache.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2ferrors_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_CacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto; +namespace flyteidl { +namespace service { +class EvictExecutionCacheRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _EvictExecutionCacheRequest_default_instance_; +class EvictTaskExecutionCacheRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _EvictTaskExecutionCacheRequest_default_instance_; +class EvictCacheResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _EvictCacheResponse_default_instance_; +} // namespace service +} // namespace flyteidl +static void InitDefaultsEvictExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_EvictExecutionCacheRequest_default_instance_; + new (ptr) ::flyteidl::service::EvictExecutionCacheRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::EvictExecutionCacheRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_EvictExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsEvictExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto}, { + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsEvictTaskExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_EvictTaskExecutionCacheRequest_default_instance_; + new (ptr) ::flyteidl::service::EvictTaskExecutionCacheRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::EvictTaskExecutionCacheRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_EvictTaskExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsEvictTaskExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto}, { + &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsEvictCacheResponse_flyteidl_2fservice_2fcache_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::service::_EvictCacheResponse_default_instance_; + new (ptr) ::flyteidl::service::EvictCacheResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::service::EvictCacheResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_EvictCacheResponse_flyteidl_2fservice_2fcache_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsEvictCacheResponse_flyteidl_2fservice_2fcache_2eproto}, { + &scc_info_CacheEvictionErrorList_flyteidl_2fcore_2ferrors_2eproto.base,}}; + +void InitDefaults_flyteidl_2fservice_2fcache_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_EvictExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_EvictTaskExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_EvictCacheResponse_flyteidl_2fservice_2fcache_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fservice_2fcache_2eproto[3]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fservice_2fcache_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fservice_2fcache_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fservice_2fcache_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::EvictExecutionCacheRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::EvictExecutionCacheRequest, workflow_execution_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::EvictTaskExecutionCacheRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::EvictTaskExecutionCacheRequest, task_execution_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::EvictCacheResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::service::EvictCacheResponse, errors_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::service::EvictExecutionCacheRequest)}, + { 6, -1, sizeof(::flyteidl::service::EvictTaskExecutionCacheRequest)}, + { 12, -1, sizeof(::flyteidl::service::EvictCacheResponse)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::service::_EvictExecutionCacheRequest_default_instance_), + reinterpret_cast(&::flyteidl::service::_EvictTaskExecutionCacheRequest_default_instance_), + reinterpret_cast(&::flyteidl::service::_EvictCacheResponse_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fservice_2fcache_2eproto = { + {}, AddDescriptors_flyteidl_2fservice_2fcache_2eproto, "flyteidl/service/cache.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fservice_2fcache_2eproto::offsets, + file_level_metadata_flyteidl_2fservice_2fcache_2eproto, 3, file_level_enum_descriptors_flyteidl_2fservice_2fcache_2eproto, file_level_service_descriptors_flyteidl_2fservice_2fcache_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fservice_2fcache_2eproto[] = + "\n\034flyteidl/service/cache.proto\022\020flyteidl" + ".service\032\034google/api/annotations.proto\032\032" + "flyteidl/core/errors.proto\032\036flyteidl/cor" + "e/identifier.proto\"g\n\032EvictExecutionCach" + "eRequest\022I\n\025workflow_execution_id\030\001 \001(\0132" + "*.flyteidl.core.WorkflowExecutionIdentif" + "ier\"c\n\036EvictTaskExecutionCacheRequest\022A\n" + "\021task_execution_id\030\001 \001(\0132&.flyteidl.core" + ".TaskExecutionIdentifier\"K\n\022EvictCacheRe" + "sponse\0225\n\006errors\030\001 \001(\0132%.flyteidl.core.C" + "acheEvictionErrorList2\237\006\n\014CacheService\022\347" + "\001\n\023EvictExecutionCache\022,.flyteidl.servic" + "e.EvictExecutionCacheRequest\032$.flyteidl." + "service.EvictCacheResponse\"|\202\323\344\223\002v*t/api" + "/v1/cache/executions/{workflow_execution" + "_id.project}/{workflow_execution_id.doma" + "in}/{workflow_execution_id.name}\022\244\004\n\027Evi" + "ctTaskExecutionCache\0220.flyteidl.service." + "EvictTaskExecutionCacheRequest\032$.flyteid" + "l.service.EvictCacheResponse\"\260\003\202\323\344\223\002\251\003*\246" + "\003/api/v1/cache/task_executions/{task_exe" + "cution_id.node_execution_id.execution_id" + ".project}/{task_execution_id.node_execut" + "ion_id.execution_id.domain}/{task_execut" + "ion_id.node_execution_id.execution_id.na" + "me}/{task_execution_id.node_execution_id" + ".node_id}/{task_execution_id.task_id.pro" + "ject}/{task_execution_id.task_id.domain}" + "/{task_execution_id.task_id.name}/{task_" + "execution_id.task_id.version}/{task_exec" + "ution_id.retry_attempt}B9Z7github.com/fl" + "yteorg/flyteidl/gen/pb-go/flyteidl/servi" + "ceb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fcache_2eproto = { + false, InitDefaults_flyteidl_2fservice_2fcache_2eproto, + descriptor_table_protodef_flyteidl_2fservice_2fcache_2eproto, + "flyteidl/service/cache.proto", &assign_descriptors_table_flyteidl_2fservice_2fcache_2eproto, 1290, +}; + +void AddDescriptors_flyteidl_2fservice_2fcache_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[3] = + { + ::AddDescriptors_google_2fapi_2fannotations_2eproto, + ::AddDescriptors_flyteidl_2fcore_2ferrors_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fcache_2eproto, deps, 3); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fservice_2fcache_2eproto = []() { AddDescriptors_flyteidl_2fservice_2fcache_2eproto(); return true; }(); +namespace flyteidl { +namespace service { + +// =================================================================== + +void EvictExecutionCacheRequest::InitAsDefaultInstance() { + ::flyteidl::service::_EvictExecutionCacheRequest_default_instance_._instance.get_mutable()->workflow_execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); +} +class EvictExecutionCacheRequest::HasBitSetters { + public: + static const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution_id(const EvictExecutionCacheRequest* msg); +}; + +const ::flyteidl::core::WorkflowExecutionIdentifier& +EvictExecutionCacheRequest::HasBitSetters::workflow_execution_id(const EvictExecutionCacheRequest* msg) { + return *msg->workflow_execution_id_; +} +void EvictExecutionCacheRequest::clear_workflow_execution_id() { + if (GetArenaNoVirtual() == nullptr && workflow_execution_id_ != nullptr) { + delete workflow_execution_id_; + } + workflow_execution_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int EvictExecutionCacheRequest::kWorkflowExecutionIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +EvictExecutionCacheRequest::EvictExecutionCacheRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.EvictExecutionCacheRequest) +} +EvictExecutionCacheRequest::EvictExecutionCacheRequest(const EvictExecutionCacheRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_workflow_execution_id()) { + workflow_execution_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.workflow_execution_id_); + } else { + workflow_execution_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.EvictExecutionCacheRequest) +} + +void EvictExecutionCacheRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_EvictExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto.base); + workflow_execution_id_ = nullptr; +} + +EvictExecutionCacheRequest::~EvictExecutionCacheRequest() { + // @@protoc_insertion_point(destructor:flyteidl.service.EvictExecutionCacheRequest) + SharedDtor(); +} + +void EvictExecutionCacheRequest::SharedDtor() { + if (this != internal_default_instance()) delete workflow_execution_id_; +} + +void EvictExecutionCacheRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const EvictExecutionCacheRequest& EvictExecutionCacheRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_EvictExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto.base); + return *internal_default_instance(); +} + + +void EvictExecutionCacheRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.EvictExecutionCacheRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && workflow_execution_id_ != nullptr) { + delete workflow_execution_id_; + } + workflow_execution_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* EvictExecutionCacheRequest::_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.core.WorkflowExecutionIdentifier workflow_execution_id = 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::core::WorkflowExecutionIdentifier::_InternalParse; + object = msg->mutable_workflow_execution_id(); + 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 EvictExecutionCacheRequest::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.service.EvictExecutionCacheRequest) + 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.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_execution_id())); + } 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.service.EvictExecutionCacheRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.EvictExecutionCacheRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void EvictExecutionCacheRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.EvictExecutionCacheRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + if (this->has_workflow_execution_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::workflow_execution_id(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.EvictExecutionCacheRequest) +} + +::google::protobuf::uint8* EvictExecutionCacheRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.EvictExecutionCacheRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + if (this->has_workflow_execution_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::workflow_execution_id(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.service.EvictExecutionCacheRequest) + return target; +} + +size_t EvictExecutionCacheRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.EvictExecutionCacheRequest) + 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.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + if (this->has_workflow_execution_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *workflow_execution_id_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void EvictExecutionCacheRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.EvictExecutionCacheRequest) + GOOGLE_DCHECK_NE(&from, this); + const EvictExecutionCacheRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.EvictExecutionCacheRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.EvictExecutionCacheRequest) + MergeFrom(*source); + } +} + +void EvictExecutionCacheRequest::MergeFrom(const EvictExecutionCacheRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.EvictExecutionCacheRequest) + 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_workflow_execution_id()) { + mutable_workflow_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_execution_id()); + } +} + +void EvictExecutionCacheRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.EvictExecutionCacheRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void EvictExecutionCacheRequest::CopyFrom(const EvictExecutionCacheRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.EvictExecutionCacheRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool EvictExecutionCacheRequest::IsInitialized() const { + return true; +} + +void EvictExecutionCacheRequest::Swap(EvictExecutionCacheRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void EvictExecutionCacheRequest::InternalSwap(EvictExecutionCacheRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(workflow_execution_id_, other->workflow_execution_id_); +} + +::google::protobuf::Metadata EvictExecutionCacheRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fcache_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fcache_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void EvictTaskExecutionCacheRequest::InitAsDefaultInstance() { + ::flyteidl::service::_EvictTaskExecutionCacheRequest_default_instance_._instance.get_mutable()->task_execution_id_ = const_cast< ::flyteidl::core::TaskExecutionIdentifier*>( + ::flyteidl::core::TaskExecutionIdentifier::internal_default_instance()); +} +class EvictTaskExecutionCacheRequest::HasBitSetters { + public: + static const ::flyteidl::core::TaskExecutionIdentifier& task_execution_id(const EvictTaskExecutionCacheRequest* msg); +}; + +const ::flyteidl::core::TaskExecutionIdentifier& +EvictTaskExecutionCacheRequest::HasBitSetters::task_execution_id(const EvictTaskExecutionCacheRequest* msg) { + return *msg->task_execution_id_; +} +void EvictTaskExecutionCacheRequest::clear_task_execution_id() { + if (GetArenaNoVirtual() == nullptr && task_execution_id_ != nullptr) { + delete task_execution_id_; + } + task_execution_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int EvictTaskExecutionCacheRequest::kTaskExecutionIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +EvictTaskExecutionCacheRequest::EvictTaskExecutionCacheRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.EvictTaskExecutionCacheRequest) +} +EvictTaskExecutionCacheRequest::EvictTaskExecutionCacheRequest(const EvictTaskExecutionCacheRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_task_execution_id()) { + task_execution_id_ = new ::flyteidl::core::TaskExecutionIdentifier(*from.task_execution_id_); + } else { + task_execution_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.EvictTaskExecutionCacheRequest) +} + +void EvictTaskExecutionCacheRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_EvictTaskExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto.base); + task_execution_id_ = nullptr; +} + +EvictTaskExecutionCacheRequest::~EvictTaskExecutionCacheRequest() { + // @@protoc_insertion_point(destructor:flyteidl.service.EvictTaskExecutionCacheRequest) + SharedDtor(); +} + +void EvictTaskExecutionCacheRequest::SharedDtor() { + if (this != internal_default_instance()) delete task_execution_id_; +} + +void EvictTaskExecutionCacheRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const EvictTaskExecutionCacheRequest& EvictTaskExecutionCacheRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_EvictTaskExecutionCacheRequest_flyteidl_2fservice_2fcache_2eproto.base); + return *internal_default_instance(); +} + + +void EvictTaskExecutionCacheRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.EvictTaskExecutionCacheRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && task_execution_id_ != nullptr) { + delete task_execution_id_; + } + task_execution_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* EvictTaskExecutionCacheRequest::_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.core.TaskExecutionIdentifier task_execution_id = 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::core::TaskExecutionIdentifier::_InternalParse; + object = msg->mutable_task_execution_id(); + 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 EvictTaskExecutionCacheRequest::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.service.EvictTaskExecutionCacheRequest) + 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.core.TaskExecutionIdentifier task_execution_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_task_execution_id())); + } 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.service.EvictTaskExecutionCacheRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.EvictTaskExecutionCacheRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void EvictTaskExecutionCacheRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.EvictTaskExecutionCacheRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + if (this->has_task_execution_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::task_execution_id(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.EvictTaskExecutionCacheRequest) +} + +::google::protobuf::uint8* EvictTaskExecutionCacheRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.EvictTaskExecutionCacheRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + if (this->has_task_execution_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::task_execution_id(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.service.EvictTaskExecutionCacheRequest) + return target; +} + +size_t EvictTaskExecutionCacheRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.EvictTaskExecutionCacheRequest) + 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.core.TaskExecutionIdentifier task_execution_id = 1; + if (this->has_task_execution_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *task_execution_id_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void EvictTaskExecutionCacheRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.EvictTaskExecutionCacheRequest) + GOOGLE_DCHECK_NE(&from, this); + const EvictTaskExecutionCacheRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.EvictTaskExecutionCacheRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.EvictTaskExecutionCacheRequest) + MergeFrom(*source); + } +} + +void EvictTaskExecutionCacheRequest::MergeFrom(const EvictTaskExecutionCacheRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.EvictTaskExecutionCacheRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_task_execution_id()) { + mutable_task_execution_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_execution_id()); + } +} + +void EvictTaskExecutionCacheRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.EvictTaskExecutionCacheRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void EvictTaskExecutionCacheRequest::CopyFrom(const EvictTaskExecutionCacheRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.EvictTaskExecutionCacheRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool EvictTaskExecutionCacheRequest::IsInitialized() const { + return true; +} + +void EvictTaskExecutionCacheRequest::Swap(EvictTaskExecutionCacheRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void EvictTaskExecutionCacheRequest::InternalSwap(EvictTaskExecutionCacheRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(task_execution_id_, other->task_execution_id_); +} + +::google::protobuf::Metadata EvictTaskExecutionCacheRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fcache_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fcache_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void EvictCacheResponse::InitAsDefaultInstance() { + ::flyteidl::service::_EvictCacheResponse_default_instance_._instance.get_mutable()->errors_ = const_cast< ::flyteidl::core::CacheEvictionErrorList*>( + ::flyteidl::core::CacheEvictionErrorList::internal_default_instance()); +} +class EvictCacheResponse::HasBitSetters { + public: + static const ::flyteidl::core::CacheEvictionErrorList& errors(const EvictCacheResponse* msg); +}; + +const ::flyteidl::core::CacheEvictionErrorList& +EvictCacheResponse::HasBitSetters::errors(const EvictCacheResponse* msg) { + return *msg->errors_; +} +void EvictCacheResponse::clear_errors() { + if (GetArenaNoVirtual() == nullptr && errors_ != nullptr) { + delete errors_; + } + errors_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int EvictCacheResponse::kErrorsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +EvictCacheResponse::EvictCacheResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.service.EvictCacheResponse) +} +EvictCacheResponse::EvictCacheResponse(const EvictCacheResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_errors()) { + errors_ = new ::flyteidl::core::CacheEvictionErrorList(*from.errors_); + } else { + errors_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.service.EvictCacheResponse) +} + +void EvictCacheResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_EvictCacheResponse_flyteidl_2fservice_2fcache_2eproto.base); + errors_ = nullptr; +} + +EvictCacheResponse::~EvictCacheResponse() { + // @@protoc_insertion_point(destructor:flyteidl.service.EvictCacheResponse) + SharedDtor(); +} + +void EvictCacheResponse::SharedDtor() { + if (this != internal_default_instance()) delete errors_; +} + +void EvictCacheResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const EvictCacheResponse& EvictCacheResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_EvictCacheResponse_flyteidl_2fservice_2fcache_2eproto.base); + return *internal_default_instance(); +} + + +void EvictCacheResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.service.EvictCacheResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && errors_ != nullptr) { + delete errors_; + } + errors_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* EvictCacheResponse::_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.core.CacheEvictionErrorList errors = 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::core::CacheEvictionErrorList::_InternalParse; + object = msg->mutable_errors(); + 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 EvictCacheResponse::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.service.EvictCacheResponse) + 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.core.CacheEvictionErrorList errors = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_errors())); + } 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.service.EvictCacheResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.service.EvictCacheResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void EvictCacheResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.service.EvictCacheResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.CacheEvictionErrorList errors = 1; + if (this->has_errors()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::errors(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.service.EvictCacheResponse) +} + +::google::protobuf::uint8* EvictCacheResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.service.EvictCacheResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.CacheEvictionErrorList errors = 1; + if (this->has_errors()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::errors(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.service.EvictCacheResponse) + return target; +} + +size_t EvictCacheResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.service.EvictCacheResponse) + 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.core.CacheEvictionErrorList errors = 1; + if (this->has_errors()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *errors_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void EvictCacheResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.service.EvictCacheResponse) + GOOGLE_DCHECK_NE(&from, this); + const EvictCacheResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.service.EvictCacheResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.service.EvictCacheResponse) + MergeFrom(*source); + } +} + +void EvictCacheResponse::MergeFrom(const EvictCacheResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.service.EvictCacheResponse) + 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_errors()) { + mutable_errors()->::flyteidl::core::CacheEvictionErrorList::MergeFrom(from.errors()); + } +} + +void EvictCacheResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.service.EvictCacheResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void EvictCacheResponse::CopyFrom(const EvictCacheResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.service.EvictCacheResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool EvictCacheResponse::IsInitialized() const { + return true; +} + +void EvictCacheResponse::Swap(EvictCacheResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void EvictCacheResponse::InternalSwap(EvictCacheResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(errors_, other->errors_); +} + +::google::protobuf::Metadata EvictCacheResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fservice_2fcache_2eproto); + return ::file_level_metadata_flyteidl_2fservice_2fcache_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace service +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::service::EvictExecutionCacheRequest* Arena::CreateMaybeMessage< ::flyteidl::service::EvictExecutionCacheRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::EvictExecutionCacheRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::EvictTaskExecutionCacheRequest* Arena::CreateMaybeMessage< ::flyteidl::service::EvictTaskExecutionCacheRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::EvictTaskExecutionCacheRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::service::EvictCacheResponse* Arena::CreateMaybeMessage< ::flyteidl::service::EvictCacheResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::service::EvictCacheResponse >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/service/cache.pb.h b/gen/pb-cpp/flyteidl/service/cache.pb.h new file mode 100644 index 000000000..81ae8167c --- /dev/null +++ b/gen/pb-cpp/flyteidl/service/cache.pb.h @@ -0,0 +1,592 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/service/cache.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fservice_2fcache_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fservice_2fcache_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 "google/api/annotations.pb.h" +#include "flyteidl/core/errors.pb.h" +#include "flyteidl/core/identifier.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fservice_2fcache_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fservice_2fcache_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_2fservice_2fcache_2eproto(); +namespace flyteidl { +namespace service { +class EvictCacheResponse; +class EvictCacheResponseDefaultTypeInternal; +extern EvictCacheResponseDefaultTypeInternal _EvictCacheResponse_default_instance_; +class EvictExecutionCacheRequest; +class EvictExecutionCacheRequestDefaultTypeInternal; +extern EvictExecutionCacheRequestDefaultTypeInternal _EvictExecutionCacheRequest_default_instance_; +class EvictTaskExecutionCacheRequest; +class EvictTaskExecutionCacheRequestDefaultTypeInternal; +extern EvictTaskExecutionCacheRequestDefaultTypeInternal _EvictTaskExecutionCacheRequest_default_instance_; +} // namespace service +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::service::EvictCacheResponse* Arena::CreateMaybeMessage<::flyteidl::service::EvictCacheResponse>(Arena*); +template<> ::flyteidl::service::EvictExecutionCacheRequest* Arena::CreateMaybeMessage<::flyteidl::service::EvictExecutionCacheRequest>(Arena*); +template<> ::flyteidl::service::EvictTaskExecutionCacheRequest* Arena::CreateMaybeMessage<::flyteidl::service::EvictTaskExecutionCacheRequest>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace service { + +// =================================================================== + +class EvictExecutionCacheRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.EvictExecutionCacheRequest) */ { + public: + EvictExecutionCacheRequest(); + virtual ~EvictExecutionCacheRequest(); + + EvictExecutionCacheRequest(const EvictExecutionCacheRequest& from); + + inline EvictExecutionCacheRequest& operator=(const EvictExecutionCacheRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + EvictExecutionCacheRequest(EvictExecutionCacheRequest&& from) noexcept + : EvictExecutionCacheRequest() { + *this = ::std::move(from); + } + + inline EvictExecutionCacheRequest& operator=(EvictExecutionCacheRequest&& 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 EvictExecutionCacheRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const EvictExecutionCacheRequest* internal_default_instance() { + return reinterpret_cast( + &_EvictExecutionCacheRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(EvictExecutionCacheRequest* other); + friend void swap(EvictExecutionCacheRequest& a, EvictExecutionCacheRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline EvictExecutionCacheRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + EvictExecutionCacheRequest* 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 EvictExecutionCacheRequest& from); + void MergeFrom(const EvictExecutionCacheRequest& 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(EvictExecutionCacheRequest* 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.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + bool has_workflow_execution_id() const; + void clear_workflow_execution_id(); + static const int kWorkflowExecutionIdFieldNumber = 1; + const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution_id() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_workflow_execution_id(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_workflow_execution_id(); + void set_allocated_workflow_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id); + + // @@protoc_insertion_point(class_scope:flyteidl.service.EvictExecutionCacheRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fcache_2eproto; +}; +// ------------------------------------------------------------------- + +class EvictTaskExecutionCacheRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.EvictTaskExecutionCacheRequest) */ { + public: + EvictTaskExecutionCacheRequest(); + virtual ~EvictTaskExecutionCacheRequest(); + + EvictTaskExecutionCacheRequest(const EvictTaskExecutionCacheRequest& from); + + inline EvictTaskExecutionCacheRequest& operator=(const EvictTaskExecutionCacheRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + EvictTaskExecutionCacheRequest(EvictTaskExecutionCacheRequest&& from) noexcept + : EvictTaskExecutionCacheRequest() { + *this = ::std::move(from); + } + + inline EvictTaskExecutionCacheRequest& operator=(EvictTaskExecutionCacheRequest&& 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 EvictTaskExecutionCacheRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const EvictTaskExecutionCacheRequest* internal_default_instance() { + return reinterpret_cast( + &_EvictTaskExecutionCacheRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(EvictTaskExecutionCacheRequest* other); + friend void swap(EvictTaskExecutionCacheRequest& a, EvictTaskExecutionCacheRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline EvictTaskExecutionCacheRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + EvictTaskExecutionCacheRequest* 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 EvictTaskExecutionCacheRequest& from); + void MergeFrom(const EvictTaskExecutionCacheRequest& 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(EvictTaskExecutionCacheRequest* 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.core.TaskExecutionIdentifier task_execution_id = 1; + bool has_task_execution_id() const; + void clear_task_execution_id(); + static const int kTaskExecutionIdFieldNumber = 1; + const ::flyteidl::core::TaskExecutionIdentifier& task_execution_id() const; + ::flyteidl::core::TaskExecutionIdentifier* release_task_execution_id(); + ::flyteidl::core::TaskExecutionIdentifier* mutable_task_execution_id(); + void set_allocated_task_execution_id(::flyteidl::core::TaskExecutionIdentifier* task_execution_id); + + // @@protoc_insertion_point(class_scope:flyteidl.service.EvictTaskExecutionCacheRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::TaskExecutionIdentifier* task_execution_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fcache_2eproto; +}; +// ------------------------------------------------------------------- + +class EvictCacheResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.service.EvictCacheResponse) */ { + public: + EvictCacheResponse(); + virtual ~EvictCacheResponse(); + + EvictCacheResponse(const EvictCacheResponse& from); + + inline EvictCacheResponse& operator=(const EvictCacheResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + EvictCacheResponse(EvictCacheResponse&& from) noexcept + : EvictCacheResponse() { + *this = ::std::move(from); + } + + inline EvictCacheResponse& operator=(EvictCacheResponse&& 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 EvictCacheResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const EvictCacheResponse* internal_default_instance() { + return reinterpret_cast( + &_EvictCacheResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(EvictCacheResponse* other); + friend void swap(EvictCacheResponse& a, EvictCacheResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline EvictCacheResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + EvictCacheResponse* 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 EvictCacheResponse& from); + void MergeFrom(const EvictCacheResponse& 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(EvictCacheResponse* 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.core.CacheEvictionErrorList errors = 1; + bool has_errors() const; + void clear_errors(); + static const int kErrorsFieldNumber = 1; + const ::flyteidl::core::CacheEvictionErrorList& errors() const; + ::flyteidl::core::CacheEvictionErrorList* release_errors(); + ::flyteidl::core::CacheEvictionErrorList* mutable_errors(); + void set_allocated_errors(::flyteidl::core::CacheEvictionErrorList* errors); + + // @@protoc_insertion_point(class_scope:flyteidl.service.EvictCacheResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::CacheEvictionErrorList* errors_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fservice_2fcache_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// EvictExecutionCacheRequest + +// .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; +inline bool EvictExecutionCacheRequest::has_workflow_execution_id() const { + return this != internal_default_instance() && workflow_execution_id_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& EvictExecutionCacheRequest::workflow_execution_id() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = workflow_execution_id_; + // @@protoc_insertion_point(field_get:flyteidl.service.EvictExecutionCacheRequest.workflow_execution_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* EvictExecutionCacheRequest::release_workflow_execution_id() { + // @@protoc_insertion_point(field_release:flyteidl.service.EvictExecutionCacheRequest.workflow_execution_id) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = workflow_execution_id_; + workflow_execution_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* EvictExecutionCacheRequest::mutable_workflow_execution_id() { + + if (workflow_execution_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + workflow_execution_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.EvictExecutionCacheRequest.workflow_execution_id) + return workflow_execution_id_; +} +inline void EvictExecutionCacheRequest::set_allocated_workflow_execution_id(::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_execution_id_); + } + if (workflow_execution_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_execution_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_execution_id, submessage_arena); + } + + } else { + + } + workflow_execution_id_ = workflow_execution_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.EvictExecutionCacheRequest.workflow_execution_id) +} + +// ------------------------------------------------------------------- + +// EvictTaskExecutionCacheRequest + +// .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; +inline bool EvictTaskExecutionCacheRequest::has_task_execution_id() const { + return this != internal_default_instance() && task_execution_id_ != nullptr; +} +inline const ::flyteidl::core::TaskExecutionIdentifier& EvictTaskExecutionCacheRequest::task_execution_id() const { + const ::flyteidl::core::TaskExecutionIdentifier* p = task_execution_id_; + // @@protoc_insertion_point(field_get:flyteidl.service.EvictTaskExecutionCacheRequest.task_execution_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_TaskExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::TaskExecutionIdentifier* EvictTaskExecutionCacheRequest::release_task_execution_id() { + // @@protoc_insertion_point(field_release:flyteidl.service.EvictTaskExecutionCacheRequest.task_execution_id) + + ::flyteidl::core::TaskExecutionIdentifier* temp = task_execution_id_; + task_execution_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::TaskExecutionIdentifier* EvictTaskExecutionCacheRequest::mutable_task_execution_id() { + + if (task_execution_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::TaskExecutionIdentifier>(GetArenaNoVirtual()); + task_execution_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.EvictTaskExecutionCacheRequest.task_execution_id) + return task_execution_id_; +} +inline void EvictTaskExecutionCacheRequest::set_allocated_task_execution_id(::flyteidl::core::TaskExecutionIdentifier* task_execution_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(task_execution_id_); + } + if (task_execution_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + task_execution_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, task_execution_id, submessage_arena); + } + + } else { + + } + task_execution_id_ = task_execution_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.EvictTaskExecutionCacheRequest.task_execution_id) +} + +// ------------------------------------------------------------------- + +// EvictCacheResponse + +// .flyteidl.core.CacheEvictionErrorList errors = 1; +inline bool EvictCacheResponse::has_errors() const { + return this != internal_default_instance() && errors_ != nullptr; +} +inline const ::flyteidl::core::CacheEvictionErrorList& EvictCacheResponse::errors() const { + const ::flyteidl::core::CacheEvictionErrorList* p = errors_; + // @@protoc_insertion_point(field_get:flyteidl.service.EvictCacheResponse.errors) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_CacheEvictionErrorList_default_instance_); +} +inline ::flyteidl::core::CacheEvictionErrorList* EvictCacheResponse::release_errors() { + // @@protoc_insertion_point(field_release:flyteidl.service.EvictCacheResponse.errors) + + ::flyteidl::core::CacheEvictionErrorList* temp = errors_; + errors_ = nullptr; + return temp; +} +inline ::flyteidl::core::CacheEvictionErrorList* EvictCacheResponse::mutable_errors() { + + if (errors_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::CacheEvictionErrorList>(GetArenaNoVirtual()); + errors_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.service.EvictCacheResponse.errors) + return errors_; +} +inline void EvictCacheResponse::set_allocated_errors(::flyteidl::core::CacheEvictionErrorList* errors) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(errors_); + } + if (errors) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + errors = ::google::protobuf::internal::GetOwnedMessage( + message_arena, errors, submessage_arena); + } + + } else { + + } + errors_ = errors; + // @@protoc_insertion_point(field_set_allocated:flyteidl.service.EvictCacheResponse.errors) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace service +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fservice_2fcache_2eproto diff --git a/gen/pb-go/flyteidl/core/errors.pb.go b/gen/pb-go/flyteidl/core/errors.pb.go index 6e12d3b80..b28dcfe93 100644 --- a/gen/pb-go/flyteidl/core/errors.pb.go +++ b/gen/pb-go/flyteidl/core/errors.pb.go @@ -46,6 +46,46 @@ func (ContainerError_Kind) EnumDescriptor() ([]byte, []int) { return fileDescriptor_c2a49b99f342b879, []int{0, 0} } +// Defines codes for distinguishing between errors encountered during cache eviction. +type CacheEvictionError_Code int32 + +const ( + // Indicates a generic internal error occurred. + CacheEvictionError_INTERNAL CacheEvictionError_Code = 0 + // Indicates no reservation could be acquired before deleting an artifact. + CacheEvictionError_RESERVATION_NOT_ACQUIRED CacheEvictionError_Code = 1 + // Indicates updating the database entry related to the node execution failed. + CacheEvictionError_DATABASE_UPDATE_FAILED CacheEvictionError_Code = 2 + // Indicates deleting the artifact from datacatalog failed. + CacheEvictionError_ARTIFACT_DELETE_FAILED CacheEvictionError_Code = 3 + // Indicates the reservation previously acquired could not be released for an artifact. + CacheEvictionError_RESERVATION_NOT_RELEASED CacheEvictionError_Code = 4 +) + +var CacheEvictionError_Code_name = map[int32]string{ + 0: "INTERNAL", + 1: "RESERVATION_NOT_ACQUIRED", + 2: "DATABASE_UPDATE_FAILED", + 3: "ARTIFACT_DELETE_FAILED", + 4: "RESERVATION_NOT_RELEASED", +} + +var CacheEvictionError_Code_value = map[string]int32{ + "INTERNAL": 0, + "RESERVATION_NOT_ACQUIRED": 1, + "DATABASE_UPDATE_FAILED": 2, + "ARTIFACT_DELETE_FAILED": 3, + "RESERVATION_NOT_RELEASED": 4, +} + +func (x CacheEvictionError_Code) String() string { + return proto.EnumName(CacheEvictionError_Code_name, int32(x)) +} + +func (CacheEvictionError_Code) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_c2a49b99f342b879, []int{2, 0} +} + // Error message to propagate detailed errors from container executions to the execution // engine. type ContainerError struct { @@ -157,32 +197,201 @@ func (m *ErrorDocument) GetError() *ContainerError { return nil } +// Error returned if eviction of cached output fails and should be re-tried by the user. +type CacheEvictionError struct { + // Error code to match type of cache eviction error encountered. + Code CacheEvictionError_Code `protobuf:"varint,1,opt,name=code,proto3,enum=flyteidl.core.CacheEvictionError_Code" json:"code,omitempty"` + // More detailed error message explaining the reason for the cache eviction failure. + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + // ID of the node execution the cache eviction failed for. + NodeExecutionId *NodeExecutionIdentifier `protobuf:"bytes,3,opt,name=node_execution_id,json=nodeExecutionId,proto3" json:"node_execution_id,omitempty"` + // Source of the node execution. + // + // Types that are valid to be assigned to Source: + // *CacheEvictionError_TaskExecutionId + // *CacheEvictionError_WorkflowExecutionId + Source isCacheEvictionError_Source `protobuf_oneof:"source"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CacheEvictionError) Reset() { *m = CacheEvictionError{} } +func (m *CacheEvictionError) String() string { return proto.CompactTextString(m) } +func (*CacheEvictionError) ProtoMessage() {} +func (*CacheEvictionError) Descriptor() ([]byte, []int) { + return fileDescriptor_c2a49b99f342b879, []int{2} +} + +func (m *CacheEvictionError) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CacheEvictionError.Unmarshal(m, b) +} +func (m *CacheEvictionError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CacheEvictionError.Marshal(b, m, deterministic) +} +func (m *CacheEvictionError) XXX_Merge(src proto.Message) { + xxx_messageInfo_CacheEvictionError.Merge(m, src) +} +func (m *CacheEvictionError) XXX_Size() int { + return xxx_messageInfo_CacheEvictionError.Size(m) +} +func (m *CacheEvictionError) XXX_DiscardUnknown() { + xxx_messageInfo_CacheEvictionError.DiscardUnknown(m) +} + +var xxx_messageInfo_CacheEvictionError proto.InternalMessageInfo + +func (m *CacheEvictionError) GetCode() CacheEvictionError_Code { + if m != nil { + return m.Code + } + return CacheEvictionError_INTERNAL +} + +func (m *CacheEvictionError) GetMessage() string { + if m != nil { + return m.Message + } + return "" +} + +func (m *CacheEvictionError) GetNodeExecutionId() *NodeExecutionIdentifier { + if m != nil { + return m.NodeExecutionId + } + return nil +} + +type isCacheEvictionError_Source interface { + isCacheEvictionError_Source() +} + +type CacheEvictionError_TaskExecutionId struct { + TaskExecutionId *TaskExecutionIdentifier `protobuf:"bytes,4,opt,name=task_execution_id,json=taskExecutionId,proto3,oneof"` +} + +type CacheEvictionError_WorkflowExecutionId struct { + WorkflowExecutionId *WorkflowExecutionIdentifier `protobuf:"bytes,5,opt,name=workflow_execution_id,json=workflowExecutionId,proto3,oneof"` +} + +func (*CacheEvictionError_TaskExecutionId) isCacheEvictionError_Source() {} + +func (*CacheEvictionError_WorkflowExecutionId) isCacheEvictionError_Source() {} + +func (m *CacheEvictionError) GetSource() isCacheEvictionError_Source { + if m != nil { + return m.Source + } + return nil +} + +func (m *CacheEvictionError) GetTaskExecutionId() *TaskExecutionIdentifier { + if x, ok := m.GetSource().(*CacheEvictionError_TaskExecutionId); ok { + return x.TaskExecutionId + } + return nil +} + +func (m *CacheEvictionError) GetWorkflowExecutionId() *WorkflowExecutionIdentifier { + if x, ok := m.GetSource().(*CacheEvictionError_WorkflowExecutionId); ok { + return x.WorkflowExecutionId + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*CacheEvictionError) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*CacheEvictionError_TaskExecutionId)(nil), + (*CacheEvictionError_WorkflowExecutionId)(nil), + } +} + +// List of :ref:`ref_flyteidl.core.CacheEvictionError` encountered during a cache eviction request. +type CacheEvictionErrorList struct { + Errors []*CacheEvictionError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CacheEvictionErrorList) Reset() { *m = CacheEvictionErrorList{} } +func (m *CacheEvictionErrorList) String() string { return proto.CompactTextString(m) } +func (*CacheEvictionErrorList) ProtoMessage() {} +func (*CacheEvictionErrorList) Descriptor() ([]byte, []int) { + return fileDescriptor_c2a49b99f342b879, []int{3} +} + +func (m *CacheEvictionErrorList) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CacheEvictionErrorList.Unmarshal(m, b) +} +func (m *CacheEvictionErrorList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CacheEvictionErrorList.Marshal(b, m, deterministic) +} +func (m *CacheEvictionErrorList) XXX_Merge(src proto.Message) { + xxx_messageInfo_CacheEvictionErrorList.Merge(m, src) +} +func (m *CacheEvictionErrorList) XXX_Size() int { + return xxx_messageInfo_CacheEvictionErrorList.Size(m) +} +func (m *CacheEvictionErrorList) XXX_DiscardUnknown() { + xxx_messageInfo_CacheEvictionErrorList.DiscardUnknown(m) +} + +var xxx_messageInfo_CacheEvictionErrorList proto.InternalMessageInfo + +func (m *CacheEvictionErrorList) GetErrors() []*CacheEvictionError { + if m != nil { + return m.Errors + } + return nil +} + func init() { proto.RegisterEnum("flyteidl.core.ContainerError_Kind", ContainerError_Kind_name, ContainerError_Kind_value) + proto.RegisterEnum("flyteidl.core.CacheEvictionError_Code", CacheEvictionError_Code_name, CacheEvictionError_Code_value) proto.RegisterType((*ContainerError)(nil), "flyteidl.core.ContainerError") proto.RegisterType((*ErrorDocument)(nil), "flyteidl.core.ErrorDocument") + proto.RegisterType((*CacheEvictionError)(nil), "flyteidl.core.CacheEvictionError") + proto.RegisterType((*CacheEvictionErrorList)(nil), "flyteidl.core.CacheEvictionErrorList") } func init() { proto.RegisterFile("flyteidl/core/errors.proto", fileDescriptor_c2a49b99f342b879) } var fileDescriptor_c2a49b99f342b879 = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4b, 0xc3, 0x30, - 0x14, 0xc6, 0xad, 0xd6, 0x89, 0x6f, 0x6c, 0x93, 0x78, 0x29, 0x83, 0xc1, 0xe8, 0xc5, 0x1d, 0x34, - 0x81, 0x4d, 0x76, 0x15, 0xb7, 0xf5, 0xa4, 0x6c, 0xd0, 0x83, 0x07, 0x2f, 0xb2, 0xb6, 0x31, 0x06, - 0xd7, 0xbc, 0x91, 0xa6, 0xa0, 0x7f, 0xb0, 0xff, 0x87, 0xf4, 0xd5, 0x8a, 0xdd, 0xc1, 0x4b, 0xc8, - 0x7b, 0xef, 0xfb, 0x7d, 0x79, 0xf9, 0x60, 0xf8, 0xba, 0xfb, 0x74, 0x52, 0x67, 0x3b, 0x91, 0xa2, - 0x95, 0x42, 0x5a, 0x8b, 0xb6, 0xe0, 0x7b, 0x8b, 0x0e, 0x59, 0xaf, 0x99, 0xf1, 0x6a, 0x36, 0x1c, - 0x1d, 0x48, 0x3f, 0x64, 0x5a, 0x3a, 0x8d, 0xa6, 0x56, 0x87, 0x5f, 0x1e, 0xf4, 0x97, 0x68, 0xdc, - 0x56, 0x1b, 0x69, 0xa3, 0xca, 0x87, 0x31, 0xf0, 0x53, 0xcc, 0x64, 0xe0, 0x8d, 0xbd, 0xc9, 0x79, - 0x4c, 0x77, 0x16, 0xc0, 0x59, 0x2e, 0x8b, 0x62, 0xab, 0x64, 0x70, 0x4c, 0xed, 0xa6, 0x64, 0x73, - 0xf0, 0xdf, 0xb5, 0xc9, 0x82, 0x93, 0xb1, 0x37, 0xe9, 0x4f, 0x43, 0xde, 0x7a, 0x9d, 0xb7, 0xad, - 0xf9, 0x83, 0x36, 0x59, 0x4c, 0x7a, 0x76, 0x07, 0x1d, 0xb4, 0x5a, 0x69, 0x13, 0xf8, 0x44, 0x5e, - 0x1d, 0x90, 0x51, 0xb3, 0x68, 0x4d, 0xd2, 0x49, 0xf8, 0x0f, 0x16, 0x5e, 0x83, 0x5f, 0xd5, 0xec, - 0x12, 0x06, 0xeb, 0xcd, 0xfa, 0x25, 0x8e, 0x96, 0x9b, 0xa7, 0x28, 0xbe, 0x5f, 0x3c, 0x46, 0x17, - 0x47, 0x6c, 0x00, 0xdd, 0xbf, 0x0d, 0x2f, 0x5c, 0x41, 0x8f, 0x2c, 0x56, 0x98, 0x96, 0xb9, 0x34, - 0x8e, 0xcd, 0xe0, 0x94, 0x62, 0xa3, 0x6f, 0x76, 0xa7, 0xa3, 0x7f, 0x17, 0x8f, 0x6b, 0xed, 0x62, - 0xfe, 0x7c, 0xab, 0xb4, 0x7b, 0x2b, 0x13, 0x9e, 0x62, 0x2e, 0x88, 0x40, 0xab, 0xc4, 0x6f, 0xc4, - 0x4a, 0x1a, 0xb1, 0x4f, 0x6e, 0x14, 0x8a, 0x56, 0xea, 0x49, 0x87, 0xc2, 0x9e, 0x7d, 0x07, 0x00, - 0x00, 0xff, 0xff, 0x79, 0x84, 0xe2, 0xf9, 0xb8, 0x01, 0x00, 0x00, + // 540 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x61, 0x6f, 0xd2, 0x40, + 0x18, 0xc7, 0xd7, 0xad, 0xc3, 0xf9, 0xe0, 0x06, 0xbb, 0xc5, 0xa5, 0x21, 0xce, 0x60, 0x5f, 0x28, + 0x31, 0xda, 0x26, 0xcc, 0x2c, 0xd1, 0x37, 0xe6, 0x68, 0x6f, 0xb1, 0xb1, 0x29, 0x7a, 0x74, 0x33, + 0xf1, 0x4d, 0x85, 0xf6, 0xe8, 0x2e, 0x40, 0x6f, 0x69, 0x8b, 0xe8, 0x37, 0x30, 0xf1, 0x73, 0xfa, + 0x3d, 0x0c, 0x57, 0xc0, 0x15, 0x88, 0x7b, 0x43, 0xb8, 0xfb, 0x3f, 0xff, 0xdf, 0xdd, 0xfd, 0x9f, + 0x3e, 0xd0, 0x18, 0x8e, 0x7f, 0xe6, 0x8c, 0x47, 0x63, 0x33, 0x14, 0x29, 0x33, 0x59, 0x9a, 0x8a, + 0x34, 0x33, 0x6e, 0x53, 0x91, 0x0b, 0x74, 0xb8, 0xd4, 0x8c, 0xb9, 0xd6, 0x38, 0x5b, 0x2b, 0xfd, + 0xc1, 0xc2, 0x69, 0xce, 0x45, 0x52, 0x54, 0x37, 0x9e, 0x96, 0x65, 0x1e, 0xb1, 0x24, 0xe7, 0x43, + 0xce, 0xd2, 0x42, 0xd7, 0xff, 0x28, 0x70, 0x64, 0x89, 0x24, 0xef, 0xf3, 0x84, 0xa5, 0x64, 0x7e, + 0x0e, 0x42, 0xa0, 0x86, 0x22, 0x62, 0x9a, 0xd2, 0x54, 0x5a, 0x0f, 0xa9, 0xfc, 0x8f, 0x34, 0x78, + 0x30, 0x61, 0x59, 0xd6, 0x8f, 0x99, 0xb6, 0x2b, 0xb7, 0x97, 0x4b, 0x74, 0x01, 0xea, 0x88, 0x27, + 0x91, 0xb6, 0xd7, 0x54, 0x5a, 0x47, 0x6d, 0xdd, 0x28, 0xdd, 0xce, 0x28, 0xa3, 0x8d, 0x8f, 0x3c, + 0x89, 0xa8, 0xac, 0x47, 0xef, 0xa1, 0x22, 0x52, 0x1e, 0xf3, 0x44, 0x53, 0xa5, 0xf3, 0xc5, 0x9a, + 0x93, 0x2c, 0x1f, 0x52, 0x38, 0xe5, 0xaf, 0xb4, 0x2f, 0x6c, 0xfa, 0x2b, 0x50, 0xe7, 0x6b, 0x74, + 0x02, 0x35, 0xaf, 0xeb, 0x05, 0x94, 0x58, 0xdd, 0x6b, 0x42, 0x71, 0xc7, 0x25, 0xf5, 0x1d, 0x54, + 0x83, 0xea, 0xdd, 0x0d, 0x45, 0xb7, 0xe1, 0x50, 0x22, 0x6c, 0x11, 0x4e, 0x27, 0x2c, 0xc9, 0xd1, + 0x39, 0xec, 0xcb, 0x58, 0xe5, 0x33, 0xab, 0xed, 0xb3, 0xff, 0x5e, 0x9c, 0x16, 0xb5, 0xfa, 0x6f, + 0x15, 0x90, 0xd5, 0x0f, 0x6f, 0x18, 0xf9, 0xce, 0xc3, 0xd5, 0xe5, 0xd0, 0xbb, 0x3b, 0x89, 0x1d, + 0xb5, 0x9f, 0xaf, 0xa3, 0x36, 0x0c, 0x86, 0x25, 0x22, 0x76, 0x6f, 0xb2, 0x14, 0x8e, 0x13, 0x11, + 0xb1, 0x60, 0xd5, 0xd2, 0x80, 0x17, 0x31, 0x57, 0x37, 0x8e, 0xf0, 0x44, 0xc4, 0x56, 0x81, 0x39, + 0xab, 0x1e, 0xd3, 0x5a, 0x52, 0x16, 0x90, 0x0f, 0xc7, 0x79, 0x3f, 0x1b, 0x95, 0x99, 0xea, 0x56, + 0xa6, 0xdf, 0xcf, 0x46, 0x5b, 0x98, 0x1f, 0x76, 0x68, 0x2d, 0x2f, 0x4b, 0xe8, 0x1b, 0x3c, 0x9e, + 0x89, 0x74, 0x34, 0x1c, 0x8b, 0x59, 0x99, 0xbc, 0x2f, 0xc9, 0x2f, 0xd7, 0xc8, 0x5f, 0x16, 0xb5, + 0xdb, 0xe9, 0x27, 0xb3, 0x4d, 0x59, 0xff, 0xa5, 0x80, 0x3a, 0x0f, 0x0d, 0x3d, 0x82, 0x03, 0xc7, + 0xf3, 0x09, 0xf5, 0xb0, 0x5b, 0xdf, 0x41, 0x4f, 0x40, 0xa3, 0xa4, 0x47, 0xe8, 0x35, 0xf6, 0x9d, + 0xae, 0x17, 0x78, 0x5d, 0x3f, 0xc0, 0xd6, 0xe7, 0x2b, 0x87, 0x12, 0xbb, 0xae, 0xa0, 0x06, 0x9c, + 0xda, 0xd8, 0xc7, 0x1d, 0xdc, 0x23, 0xc1, 0xd5, 0x27, 0x1b, 0xfb, 0x24, 0xb8, 0xc4, 0x8e, 0x4b, + 0xec, 0xfa, 0xee, 0x5c, 0xc3, 0xd4, 0x77, 0x2e, 0xb1, 0xe5, 0x07, 0x36, 0x71, 0xc9, 0x3f, 0x6d, + 0x6f, 0x1b, 0x95, 0x12, 0x97, 0xe0, 0x1e, 0xb1, 0xeb, 0x6a, 0xe7, 0x00, 0x2a, 0x99, 0x98, 0xa6, + 0x21, 0xd3, 0x7b, 0x70, 0xba, 0xd9, 0x5b, 0x97, 0x67, 0x39, 0x7a, 0x0b, 0x95, 0x62, 0x66, 0x35, + 0xa5, 0xb9, 0xd7, 0xaa, 0xb6, 0x9f, 0xdd, 0xfb, 0x49, 0xd0, 0x85, 0xa1, 0x73, 0xf1, 0xf5, 0x4d, + 0xcc, 0xf3, 0x9b, 0xe9, 0xc0, 0x08, 0xc5, 0xc4, 0x94, 0x36, 0x91, 0xc6, 0xe6, 0x6a, 0x8c, 0x63, + 0x96, 0x98, 0xb7, 0x83, 0xd7, 0xb1, 0x30, 0x4b, 0x93, 0x3d, 0xa8, 0xc8, 0x79, 0x3e, 0xff, 0x1b, + 0x00, 0x00, 0xff, 0xff, 0x2c, 0xe9, 0x29, 0x58, 0x3b, 0x04, 0x00, 0x00, } diff --git a/gen/pb-go/flyteidl/core/errors.pb.validate.go b/gen/pb-go/flyteidl/core/errors.pb.validate.go index 4d091b1e6..376ac3e42 100644 --- a/gen/pb-go/flyteidl/core/errors.pb.validate.go +++ b/gen/pb-go/flyteidl/core/errors.pb.validate.go @@ -183,3 +183,194 @@ var _ interface { Cause() error ErrorName() string } = ErrorDocumentValidationError{} + +// Validate checks the field values on CacheEvictionError with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CacheEvictionError) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Code + + // no validation rules for Message + + if v, ok := interface{}(m.GetNodeExecutionId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CacheEvictionErrorValidationError{ + field: "NodeExecutionId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + switch m.Source.(type) { + + case *CacheEvictionError_TaskExecutionId: + + if v, ok := interface{}(m.GetTaskExecutionId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CacheEvictionErrorValidationError{ + field: "TaskExecutionId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *CacheEvictionError_WorkflowExecutionId: + + if v, ok := interface{}(m.GetWorkflowExecutionId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CacheEvictionErrorValidationError{ + field: "WorkflowExecutionId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// CacheEvictionErrorValidationError is the validation error returned by +// CacheEvictionError.Validate if the designated constraints aren't met. +type CacheEvictionErrorValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CacheEvictionErrorValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CacheEvictionErrorValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CacheEvictionErrorValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CacheEvictionErrorValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CacheEvictionErrorValidationError) ErrorName() string { + return "CacheEvictionErrorValidationError" +} + +// Error satisfies the builtin error interface +func (e CacheEvictionErrorValidationError) 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 %sCacheEvictionError.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CacheEvictionErrorValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CacheEvictionErrorValidationError{} + +// Validate checks the field values on CacheEvictionErrorList with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CacheEvictionErrorList) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetErrors() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CacheEvictionErrorListValidationError{ + field: fmt.Sprintf("Errors[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// CacheEvictionErrorListValidationError is the validation error returned by +// CacheEvictionErrorList.Validate if the designated constraints aren't met. +type CacheEvictionErrorListValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CacheEvictionErrorListValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CacheEvictionErrorListValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CacheEvictionErrorListValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CacheEvictionErrorListValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CacheEvictionErrorListValidationError) ErrorName() string { + return "CacheEvictionErrorListValidationError" +} + +// Error satisfies the builtin error interface +func (e CacheEvictionErrorListValidationError) 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 %sCacheEvictionErrorList.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CacheEvictionErrorListValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CacheEvictionErrorListValidationError{} diff --git a/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go b/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go index a64338312..8978407ca 100644 --- a/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go +++ b/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go @@ -47,7 +47,7 @@ func (x SinglePropertyFilter_ComparisonOperator) String() string { } func (SinglePropertyFilter_ComparisonOperator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{30, 0} + return fileDescriptor_275951237ff4368a, []int{36, 0} } type PaginationOptions_SortOrder int32 @@ -72,7 +72,7 @@ func (x PaginationOptions_SortOrder) String() string { } func (PaginationOptions_SortOrder) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{36, 0} + return fileDescriptor_275951237ff4368a, []int{42, 0} } type PaginationOptions_SortKey int32 @@ -94,7 +94,7 @@ func (x PaginationOptions_SortKey) String() string { } func (PaginationOptions_SortKey) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{36, 1} + return fileDescriptor_275951237ff4368a, []int{42, 1} } // @@ -891,6 +891,173 @@ func (m *UpdateArtifactResponse) GetArtifactId() string { return "" } +// +// Request message for deleting an Artifact and its associated ArtifactData. +type DeleteArtifactRequest struct { + // ID of dataset the artifact is associated with + Dataset *DatasetID `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` + // Either ID of artifact or name of tag of existing artifact + // + // Types that are valid to be assigned to QueryHandle: + // *DeleteArtifactRequest_ArtifactId + // *DeleteArtifactRequest_TagName + QueryHandle isDeleteArtifactRequest_QueryHandle `protobuf_oneof:"query_handle"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteArtifactRequest) Reset() { *m = DeleteArtifactRequest{} } +func (m *DeleteArtifactRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteArtifactRequest) ProtoMessage() {} +func (*DeleteArtifactRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_275951237ff4368a, []int{16} +} + +func (m *DeleteArtifactRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteArtifactRequest.Unmarshal(m, b) +} +func (m *DeleteArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteArtifactRequest.Marshal(b, m, deterministic) +} +func (m *DeleteArtifactRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteArtifactRequest.Merge(m, src) +} +func (m *DeleteArtifactRequest) XXX_Size() int { + return xxx_messageInfo_DeleteArtifactRequest.Size(m) +} +func (m *DeleteArtifactRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteArtifactRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteArtifactRequest proto.InternalMessageInfo + +func (m *DeleteArtifactRequest) GetDataset() *DatasetID { + if m != nil { + return m.Dataset + } + return nil +} + +type isDeleteArtifactRequest_QueryHandle interface { + isDeleteArtifactRequest_QueryHandle() +} + +type DeleteArtifactRequest_ArtifactId struct { + ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + +type DeleteArtifactRequest_TagName struct { + TagName string `protobuf:"bytes,3,opt,name=tag_name,json=tagName,proto3,oneof"` +} + +func (*DeleteArtifactRequest_ArtifactId) isDeleteArtifactRequest_QueryHandle() {} + +func (*DeleteArtifactRequest_TagName) isDeleteArtifactRequest_QueryHandle() {} + +func (m *DeleteArtifactRequest) GetQueryHandle() isDeleteArtifactRequest_QueryHandle { + if m != nil { + return m.QueryHandle + } + return nil +} + +func (m *DeleteArtifactRequest) GetArtifactId() string { + if x, ok := m.GetQueryHandle().(*DeleteArtifactRequest_ArtifactId); ok { + return x.ArtifactId + } + return "" +} + +func (m *DeleteArtifactRequest) GetTagName() string { + if x, ok := m.GetQueryHandle().(*DeleteArtifactRequest_TagName); ok { + return x.TagName + } + return "" +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*DeleteArtifactRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*DeleteArtifactRequest_ArtifactId)(nil), + (*DeleteArtifactRequest_TagName)(nil), + } +} + +// Request message for deleting multiple Artifacts and their associated ArtifactData. +type DeleteArtifactsRequest struct { + // List of deletion requests for artifacts to remove + Artifacts []*DeleteArtifactRequest `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteArtifactsRequest) Reset() { *m = DeleteArtifactsRequest{} } +func (m *DeleteArtifactsRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteArtifactsRequest) ProtoMessage() {} +func (*DeleteArtifactsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_275951237ff4368a, []int{17} +} + +func (m *DeleteArtifactsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteArtifactsRequest.Unmarshal(m, b) +} +func (m *DeleteArtifactsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteArtifactsRequest.Marshal(b, m, deterministic) +} +func (m *DeleteArtifactsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteArtifactsRequest.Merge(m, src) +} +func (m *DeleteArtifactsRequest) XXX_Size() int { + return xxx_messageInfo_DeleteArtifactsRequest.Size(m) +} +func (m *DeleteArtifactsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteArtifactsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteArtifactsRequest proto.InternalMessageInfo + +func (m *DeleteArtifactsRequest) GetArtifacts() []*DeleteArtifactRequest { + if m != nil { + return m.Artifacts + } + return nil +} + +// +// Response message for deleting an Artifact. +type DeleteArtifactResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteArtifactResponse) Reset() { *m = DeleteArtifactResponse{} } +func (m *DeleteArtifactResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteArtifactResponse) ProtoMessage() {} +func (*DeleteArtifactResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_275951237ff4368a, []int{18} +} + +func (m *DeleteArtifactResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteArtifactResponse.Unmarshal(m, b) +} +func (m *DeleteArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteArtifactResponse.Marshal(b, m, deterministic) +} +func (m *DeleteArtifactResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteArtifactResponse.Merge(m, src) +} +func (m *DeleteArtifactResponse) XXX_Size() int { + return xxx_messageInfo_DeleteArtifactResponse.Size(m) +} +func (m *DeleteArtifactResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteArtifactResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteArtifactResponse proto.InternalMessageInfo + // // ReservationID message that is composed of several string fields. type ReservationID struct { @@ -907,7 +1074,7 @@ func (m *ReservationID) Reset() { *m = ReservationID{} } func (m *ReservationID) String() string { return proto.CompactTextString(m) } func (*ReservationID) ProtoMessage() {} func (*ReservationID) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{16} + return fileDescriptor_275951237ff4368a, []int{19} } func (m *ReservationID) XXX_Unmarshal(b []byte) error { @@ -942,7 +1109,7 @@ func (m *ReservationID) GetTagName() string { return "" } -// Try to acquire or extend an artifact reservation. If an active reservation exists, retreive that instance. +// Try to acquire or extend an artifact reservation. If an active reservation exists, retrieve that instance. type GetOrExtendReservationRequest struct { // The unique ID for the reservation ReservationId *ReservationID `protobuf:"bytes,1,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` @@ -959,7 +1126,7 @@ func (m *GetOrExtendReservationRequest) Reset() { *m = GetOrExtendReserv func (m *GetOrExtendReservationRequest) String() string { return proto.CompactTextString(m) } func (*GetOrExtendReservationRequest) ProtoMessage() {} func (*GetOrExtendReservationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{17} + return fileDescriptor_275951237ff4368a, []int{20} } func (m *GetOrExtendReservationRequest) XXX_Unmarshal(b []byte) error { @@ -1001,6 +1168,47 @@ func (m *GetOrExtendReservationRequest) GetHeartbeatInterval() *duration.Duratio return nil } +// Request message for acquiring or extending reservations for multiple artifacts in a single operation. +type GetOrExtendReservationsRequest struct { + // List of reservation requests for artifacts to acquire + Reservations []*GetOrExtendReservationRequest `protobuf:"bytes,1,rep,name=reservations,proto3" json:"reservations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetOrExtendReservationsRequest) Reset() { *m = GetOrExtendReservationsRequest{} } +func (m *GetOrExtendReservationsRequest) String() string { return proto.CompactTextString(m) } +func (*GetOrExtendReservationsRequest) ProtoMessage() {} +func (*GetOrExtendReservationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_275951237ff4368a, []int{21} +} + +func (m *GetOrExtendReservationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetOrExtendReservationsRequest.Unmarshal(m, b) +} +func (m *GetOrExtendReservationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetOrExtendReservationsRequest.Marshal(b, m, deterministic) +} +func (m *GetOrExtendReservationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOrExtendReservationsRequest.Merge(m, src) +} +func (m *GetOrExtendReservationsRequest) XXX_Size() int { + return xxx_messageInfo_GetOrExtendReservationsRequest.Size(m) +} +func (m *GetOrExtendReservationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetOrExtendReservationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetOrExtendReservationsRequest proto.InternalMessageInfo + +func (m *GetOrExtendReservationsRequest) GetReservations() []*GetOrExtendReservationRequest { + if m != nil { + return m.Reservations + } + return nil +} + // A reservation including owner, heartbeat interval, expiration timestamp, and various metadata. type Reservation struct { // The unique ID for the reservation @@ -1022,7 +1230,7 @@ func (m *Reservation) Reset() { *m = Reservation{} } func (m *Reservation) String() string { return proto.CompactTextString(m) } func (*Reservation) ProtoMessage() {} func (*Reservation) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{18} + return fileDescriptor_275951237ff4368a, []int{22} } func (m *Reservation) XXX_Unmarshal(b []byte) error { @@ -1091,7 +1299,7 @@ func (m *GetOrExtendReservationResponse) Reset() { *m = GetOrExtendReser func (m *GetOrExtendReservationResponse) String() string { return proto.CompactTextString(m) } func (*GetOrExtendReservationResponse) ProtoMessage() {} func (*GetOrExtendReservationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{19} + return fileDescriptor_275951237ff4368a, []int{23} } func (m *GetOrExtendReservationResponse) XXX_Unmarshal(b []byte) error { @@ -1119,6 +1327,47 @@ func (m *GetOrExtendReservationResponse) GetReservation() *Reservation { return nil } +// List of reservations acquired for multiple artifacts in a single operation. +type GetOrExtendReservationsResponse struct { + // List of (newly created or existing) reservations for artifacts requested + Reservations []*Reservation `protobuf:"bytes,1,rep,name=reservations,proto3" json:"reservations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetOrExtendReservationsResponse) Reset() { *m = GetOrExtendReservationsResponse{} } +func (m *GetOrExtendReservationsResponse) String() string { return proto.CompactTextString(m) } +func (*GetOrExtendReservationsResponse) ProtoMessage() {} +func (*GetOrExtendReservationsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_275951237ff4368a, []int{24} +} + +func (m *GetOrExtendReservationsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetOrExtendReservationsResponse.Unmarshal(m, b) +} +func (m *GetOrExtendReservationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetOrExtendReservationsResponse.Marshal(b, m, deterministic) +} +func (m *GetOrExtendReservationsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOrExtendReservationsResponse.Merge(m, src) +} +func (m *GetOrExtendReservationsResponse) XXX_Size() int { + return xxx_messageInfo_GetOrExtendReservationsResponse.Size(m) +} +func (m *GetOrExtendReservationsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetOrExtendReservationsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetOrExtendReservationsResponse proto.InternalMessageInfo + +func (m *GetOrExtendReservationsResponse) GetReservations() []*Reservation { + if m != nil { + return m.Reservations + } + return nil +} + // Request to release reservation type ReleaseReservationRequest struct { // The unique ID for the reservation @@ -1134,7 +1383,7 @@ func (m *ReleaseReservationRequest) Reset() { *m = ReleaseReservationReq func (m *ReleaseReservationRequest) String() string { return proto.CompactTextString(m) } func (*ReleaseReservationRequest) ProtoMessage() {} func (*ReleaseReservationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{20} + return fileDescriptor_275951237ff4368a, []int{25} } func (m *ReleaseReservationRequest) XXX_Unmarshal(b []byte) error { @@ -1169,6 +1418,47 @@ func (m *ReleaseReservationRequest) GetOwnerId() string { return "" } +// Request message for releasing reservations for multiple artifacts in a single operation. +type ReleaseReservationsRequest struct { + // List of reservation requests for artifacts to release + Reservations []*ReleaseReservationRequest `protobuf:"bytes,1,rep,name=reservations,proto3" json:"reservations,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReleaseReservationsRequest) Reset() { *m = ReleaseReservationsRequest{} } +func (m *ReleaseReservationsRequest) String() string { return proto.CompactTextString(m) } +func (*ReleaseReservationsRequest) ProtoMessage() {} +func (*ReleaseReservationsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_275951237ff4368a, []int{26} +} + +func (m *ReleaseReservationsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReleaseReservationsRequest.Unmarshal(m, b) +} +func (m *ReleaseReservationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReleaseReservationsRequest.Marshal(b, m, deterministic) +} +func (m *ReleaseReservationsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReleaseReservationsRequest.Merge(m, src) +} +func (m *ReleaseReservationsRequest) XXX_Size() int { + return xxx_messageInfo_ReleaseReservationsRequest.Size(m) +} +func (m *ReleaseReservationsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ReleaseReservationsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ReleaseReservationsRequest proto.InternalMessageInfo + +func (m *ReleaseReservationsRequest) GetReservations() []*ReleaseReservationRequest { + if m != nil { + return m.Reservations + } + return nil +} + // Response to release reservation type ReleaseReservationResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1180,7 +1470,7 @@ func (m *ReleaseReservationResponse) Reset() { *m = ReleaseReservationRe func (m *ReleaseReservationResponse) String() string { return proto.CompactTextString(m) } func (*ReleaseReservationResponse) ProtoMessage() {} func (*ReleaseReservationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{21} + return fileDescriptor_275951237ff4368a, []int{27} } func (m *ReleaseReservationResponse) XXX_Unmarshal(b []byte) error { @@ -1216,7 +1506,7 @@ func (m *Dataset) Reset() { *m = Dataset{} } func (m *Dataset) String() string { return proto.CompactTextString(m) } func (*Dataset) ProtoMessage() {} func (*Dataset) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{22} + return fileDescriptor_275951237ff4368a, []int{28} } func (m *Dataset) XXX_Unmarshal(b []byte) error { @@ -1272,7 +1562,7 @@ func (m *Partition) Reset() { *m = Partition{} } func (m *Partition) String() string { return proto.CompactTextString(m) } func (*Partition) ProtoMessage() {} func (*Partition) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{23} + return fileDescriptor_275951237ff4368a, []int{29} } func (m *Partition) XXX_Unmarshal(b []byte) error { @@ -1324,7 +1614,7 @@ func (m *DatasetID) Reset() { *m = DatasetID{} } func (m *DatasetID) String() string { return proto.CompactTextString(m) } func (*DatasetID) ProtoMessage() {} func (*DatasetID) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{24} + return fileDescriptor_275951237ff4368a, []int{30} } func (m *DatasetID) XXX_Unmarshal(b []byte) error { @@ -1399,7 +1689,7 @@ func (m *Artifact) Reset() { *m = Artifact{} } func (m *Artifact) String() string { return proto.CompactTextString(m) } func (*Artifact) ProtoMessage() {} func (*Artifact) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{25} + return fileDescriptor_275951237ff4368a, []int{31} } func (m *Artifact) XXX_Unmarshal(b []byte) error { @@ -1483,7 +1773,7 @@ func (m *ArtifactData) Reset() { *m = ArtifactData{} } func (m *ArtifactData) String() string { return proto.CompactTextString(m) } func (*ArtifactData) ProtoMessage() {} func (*ArtifactData) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{26} + return fileDescriptor_275951237ff4368a, []int{32} } func (m *ArtifactData) XXX_Unmarshal(b []byte) error { @@ -1534,7 +1824,7 @@ func (m *Tag) Reset() { *m = Tag{} } func (m *Tag) String() string { return proto.CompactTextString(m) } func (*Tag) ProtoMessage() {} func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{27} + return fileDescriptor_275951237ff4368a, []int{33} } func (m *Tag) XXX_Unmarshal(b []byte) error { @@ -1589,7 +1879,7 @@ func (m *Metadata) Reset() { *m = Metadata{} } func (m *Metadata) String() string { return proto.CompactTextString(m) } func (*Metadata) ProtoMessage() {} func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{28} + return fileDescriptor_275951237ff4368a, []int{34} } func (m *Metadata) XXX_Unmarshal(b []byte) error { @@ -1629,7 +1919,7 @@ func (m *FilterExpression) Reset() { *m = FilterExpression{} } func (m *FilterExpression) String() string { return proto.CompactTextString(m) } func (*FilterExpression) ProtoMessage() {} func (*FilterExpression) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{29} + return fileDescriptor_275951237ff4368a, []int{35} } func (m *FilterExpression) XXX_Unmarshal(b []byte) error { @@ -1675,7 +1965,7 @@ func (m *SinglePropertyFilter) Reset() { *m = SinglePropertyFilter{} } func (m *SinglePropertyFilter) String() string { return proto.CompactTextString(m) } func (*SinglePropertyFilter) ProtoMessage() {} func (*SinglePropertyFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{30} + return fileDescriptor_275951237ff4368a, []int{36} } func (m *SinglePropertyFilter) XXX_Unmarshal(b []byte) error { @@ -1792,7 +2082,7 @@ func (m *ArtifactPropertyFilter) Reset() { *m = ArtifactPropertyFilter{} func (m *ArtifactPropertyFilter) String() string { return proto.CompactTextString(m) } func (*ArtifactPropertyFilter) ProtoMessage() {} func (*ArtifactPropertyFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{31} + return fileDescriptor_275951237ff4368a, []int{37} } func (m *ArtifactPropertyFilter) XXX_Unmarshal(b []byte) error { @@ -1858,7 +2148,7 @@ func (m *TagPropertyFilter) Reset() { *m = TagPropertyFilter{} } func (m *TagPropertyFilter) String() string { return proto.CompactTextString(m) } func (*TagPropertyFilter) ProtoMessage() {} func (*TagPropertyFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{32} + return fileDescriptor_275951237ff4368a, []int{38} } func (m *TagPropertyFilter) XXX_Unmarshal(b []byte) error { @@ -1924,7 +2214,7 @@ func (m *PartitionPropertyFilter) Reset() { *m = PartitionPropertyFilter func (m *PartitionPropertyFilter) String() string { return proto.CompactTextString(m) } func (*PartitionPropertyFilter) ProtoMessage() {} func (*PartitionPropertyFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{33} + return fileDescriptor_275951237ff4368a, []int{39} } func (m *PartitionPropertyFilter) XXX_Unmarshal(b []byte) error { @@ -1988,7 +2278,7 @@ func (m *KeyValuePair) Reset() { *m = KeyValuePair{} } func (m *KeyValuePair) String() string { return proto.CompactTextString(m) } func (*KeyValuePair) ProtoMessage() {} func (*KeyValuePair) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{34} + return fileDescriptor_275951237ff4368a, []int{40} } func (m *KeyValuePair) XXX_Unmarshal(b []byte) error { @@ -2040,7 +2330,7 @@ func (m *DatasetPropertyFilter) Reset() { *m = DatasetPropertyFilter{} } func (m *DatasetPropertyFilter) String() string { return proto.CompactTextString(m) } func (*DatasetPropertyFilter) ProtoMessage() {} func (*DatasetPropertyFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{35} + return fileDescriptor_275951237ff4368a, []int{41} } func (m *DatasetPropertyFilter) XXX_Unmarshal(b []byte) error { @@ -2153,7 +2443,7 @@ func (m *PaginationOptions) Reset() { *m = PaginationOptions{} } func (m *PaginationOptions) String() string { return proto.CompactTextString(m) } func (*PaginationOptions) ProtoMessage() {} func (*PaginationOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_275951237ff4368a, []int{36} + return fileDescriptor_275951237ff4368a, []int{42} } func (m *PaginationOptions) XXX_Unmarshal(b []byte) error { @@ -2222,11 +2512,17 @@ func init() { proto.RegisterType((*ListDatasetsResponse)(nil), "datacatalog.ListDatasetsResponse") proto.RegisterType((*UpdateArtifactRequest)(nil), "datacatalog.UpdateArtifactRequest") proto.RegisterType((*UpdateArtifactResponse)(nil), "datacatalog.UpdateArtifactResponse") + proto.RegisterType((*DeleteArtifactRequest)(nil), "datacatalog.DeleteArtifactRequest") + proto.RegisterType((*DeleteArtifactsRequest)(nil), "datacatalog.DeleteArtifactsRequest") + proto.RegisterType((*DeleteArtifactResponse)(nil), "datacatalog.DeleteArtifactResponse") proto.RegisterType((*ReservationID)(nil), "datacatalog.ReservationID") proto.RegisterType((*GetOrExtendReservationRequest)(nil), "datacatalog.GetOrExtendReservationRequest") + proto.RegisterType((*GetOrExtendReservationsRequest)(nil), "datacatalog.GetOrExtendReservationsRequest") proto.RegisterType((*Reservation)(nil), "datacatalog.Reservation") proto.RegisterType((*GetOrExtendReservationResponse)(nil), "datacatalog.GetOrExtendReservationResponse") + proto.RegisterType((*GetOrExtendReservationsResponse)(nil), "datacatalog.GetOrExtendReservationsResponse") proto.RegisterType((*ReleaseReservationRequest)(nil), "datacatalog.ReleaseReservationRequest") + proto.RegisterType((*ReleaseReservationsRequest)(nil), "datacatalog.ReleaseReservationsRequest") proto.RegisterType((*ReleaseReservationResponse)(nil), "datacatalog.ReleaseReservationResponse") proto.RegisterType((*Dataset)(nil), "datacatalog.Dataset") proto.RegisterType((*Partition)(nil), "datacatalog.Partition") @@ -2251,112 +2547,121 @@ func init() { } var fileDescriptor_275951237ff4368a = []byte{ - // 1669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x4b, 0x6f, 0xdb, 0xc6, - 0x16, 0x36, 0x25, 0x47, 0x32, 0x8f, 0x2c, 0x45, 0x9e, 0xd8, 0x8e, 0xac, 0x24, 0xb6, 0xc2, 0x04, - 0xbe, 0x46, 0xee, 0x8d, 0x94, 0x6b, 0x27, 0xc1, 0x4d, 0x72, 0xfb, 0x90, 0x2d, 0xc5, 0x56, 0x1d, - 0x3f, 0x42, 0x3f, 0x80, 0x3e, 0x00, 0x61, 0x6c, 0x8e, 0x19, 0xd6, 0x94, 0xc8, 0x90, 0xe3, 0xd4, - 0x5a, 0x15, 0xdd, 0x74, 0xd1, 0x76, 0x57, 0xa0, 0x7f, 0xa0, 0x3f, 0xa4, 0xcb, 0x74, 0xd5, 0xdf, - 0x54, 0x0c, 0x39, 0x43, 0x91, 0x14, 0x65, 0x2b, 0x5e, 0x04, 0xe8, 0x86, 0xe0, 0xcc, 0x9c, 0xf3, - 0xcd, 0x79, 0xcc, 0x99, 0x73, 0xce, 0xc0, 0xe2, 0x89, 0xd9, 0xa3, 0xc4, 0xd0, 0xcc, 0x9a, 0x86, - 0x29, 0x3e, 0xc6, 0x14, 0x9b, 0x96, 0x1e, 0xfe, 0xaf, 0xda, 0x8e, 0x45, 0x2d, 0x94, 0x0b, 0x4d, - 0x95, 0x6f, 0x07, 0x4c, 0xc7, 0x96, 0x43, 0x6a, 0xa6, 0x41, 0x89, 0x83, 0x4d, 0xd7, 0x27, 0x2d, - 0xcf, 0xeb, 0x96, 0xa5, 0x9b, 0xa4, 0xe6, 0x8d, 0x8e, 0xce, 0x4e, 0x6a, 0xda, 0x99, 0x83, 0xa9, - 0x61, 0x75, 0xf9, 0xfa, 0x42, 0x7c, 0x9d, 0x1a, 0x1d, 0xe2, 0x52, 0xdc, 0xb1, 0x7d, 0x02, 0xe5, - 0x25, 0x4c, 0xaf, 0x39, 0x04, 0x53, 0xd2, 0xc0, 0x14, 0xbb, 0x84, 0xaa, 0xe4, 0xed, 0x19, 0x71, - 0x29, 0xaa, 0x42, 0x56, 0xf3, 0x67, 0x4a, 0x52, 0x45, 0x5a, 0xca, 0x2d, 0x4f, 0x57, 0xc3, 0x82, - 0x0a, 0x6a, 0x41, 0xa4, 0xdc, 0x84, 0x99, 0x18, 0x8e, 0x6b, 0x5b, 0x5d, 0x97, 0x28, 0x4d, 0x98, - 0x5a, 0x27, 0x34, 0x86, 0xfe, 0x28, 0x8e, 0x3e, 0x9b, 0x84, 0xde, 0x6a, 0xf4, 0xf1, 0x1b, 0x80, - 0xc2, 0x30, 0x3e, 0xf8, 0x07, 0x4b, 0xf9, 0x9b, 0xe4, 0xc1, 0xd4, 0x1d, 0x6a, 0x9c, 0xe0, 0xe3, - 0xab, 0x8b, 0x83, 0xee, 0x42, 0x0e, 0x73, 0x90, 0xb6, 0xa1, 0x95, 0x52, 0x15, 0x69, 0x49, 0xde, - 0x18, 0x53, 0x41, 0x4c, 0xb6, 0x34, 0x74, 0x0b, 0x26, 0x28, 0xd6, 0xdb, 0x5d, 0xdc, 0x21, 0xa5, - 0x34, 0x5f, 0xcf, 0x52, 0xac, 0x6f, 0xe3, 0x0e, 0x59, 0x2d, 0xc0, 0xe4, 0xdb, 0x33, 0xe2, 0xf4, - 0xda, 0x6f, 0x70, 0x57, 0x33, 0x89, 0xb2, 0x01, 0x37, 0x22, 0x72, 0x71, 0xfd, 0xfe, 0x0b, 0x13, - 0x02, 0x91, 0x4b, 0x36, 0x13, 0x91, 0x2c, 0x60, 0x08, 0xc8, 0x94, 0x2f, 0x84, 0x23, 0xe2, 0x4a, - 0x5e, 0x01, 0xab, 0x04, 0xb3, 0x71, 0x2c, 0xee, 0xd5, 0x15, 0xc8, 0xd7, 0x35, 0x6d, 0x1f, 0xeb, - 0x02, 0x5d, 0x81, 0x34, 0xc5, 0x3a, 0x07, 0x2e, 0x46, 0x80, 0x19, 0x15, 0x5b, 0x54, 0x8a, 0x50, - 0x10, 0x4c, 0x1c, 0xe6, 0x0f, 0x09, 0xa6, 0x5f, 0x19, 0x6e, 0xa0, 0xb8, 0x7b, 0x75, 0x8f, 0x3c, - 0x81, 0xcc, 0x89, 0x61, 0x52, 0xe2, 0x78, 0xce, 0xc8, 0x2d, 0xdf, 0x89, 0x30, 0xbc, 0xf4, 0x96, - 0x9a, 0xe7, 0xb6, 0x43, 0x5c, 0xd7, 0xb0, 0xba, 0x2a, 0x27, 0x46, 0x9f, 0x02, 0xd8, 0x58, 0x37, - 0xba, 0x5e, 0xd0, 0x78, 0x7e, 0xca, 0x2d, 0xcf, 0x47, 0x58, 0x77, 0x83, 0xe5, 0x1d, 0x9b, 0x7d, - 0x5d, 0x35, 0xc4, 0xa1, 0x9c, 0xc2, 0x4c, 0x4c, 0x01, 0xee, 0xba, 0x15, 0x90, 0x85, 0x1d, 0xdd, - 0x92, 0x54, 0x49, 0x0f, 0xb7, 0x77, 0x9f, 0x0e, 0xdd, 0x01, 0xe8, 0x92, 0x73, 0xda, 0xa6, 0xd6, - 0x29, 0xe9, 0xfa, 0xa7, 0x4a, 0x95, 0xd9, 0xcc, 0x3e, 0x9b, 0x50, 0x7e, 0x91, 0xe0, 0x06, 0xdb, - 0x8d, 0xab, 0x1f, 0x58, 0xab, 0xaf, 0xbb, 0x74, 0x75, 0xdd, 0x53, 0x1f, 0xac, 0xbb, 0xee, 0x3b, - 0xaf, 0x2f, 0x0d, 0x57, 0xfd, 0x11, 0x4c, 0x70, 0xaf, 0x08, 0xcd, 0x93, 0xc3, 0x32, 0xa0, 0xba, - 0x4c, 0xef, 0x3f, 0x25, 0x98, 0x39, 0xb0, 0xb5, 0x84, 0x43, 0xfd, 0xd1, 0x23, 0x17, 0x3d, 0x84, - 0x71, 0x06, 0x55, 0x1a, 0xf7, 0x14, 0x9b, 0x4b, 0x74, 0x29, 0xdb, 0x56, 0xf5, 0xc8, 0x06, 0x02, - 0xfd, 0x19, 0xcc, 0xc6, 0x35, 0xe1, 0x56, 0x5b, 0x88, 0x0a, 0x26, 0x79, 0x46, 0x08, 0x89, 0xa5, - 0x60, 0xc8, 0xab, 0xc4, 0x25, 0xce, 0x3b, 0xcf, 0xfa, 0xad, 0x06, 0x7a, 0x02, 0xc0, 0xb5, 0x12, - 0x0c, 0xc3, 0xf5, 0x97, 0x39, 0x65, 0x4b, 0x43, 0x73, 0x21, 0xf5, 0x7c, 0x53, 0x0b, 0xe5, 0x94, - 0xf7, 0x12, 0xdc, 0x59, 0x27, 0x74, 0xc7, 0x69, 0x9e, 0x53, 0xd2, 0xd5, 0x42, 0xdb, 0x09, 0x83, - 0xd7, 0xa1, 0xe0, 0xf4, 0x67, 0xfb, 0xfb, 0x96, 0x23, 0xfb, 0x46, 0xe4, 0x54, 0xf3, 0x21, 0x0e, - 0x7f, 0x7f, 0xeb, 0xbb, 0x2e, 0x71, 0x02, 0xf3, 0xab, 0x59, 0x6f, 0xdc, 0xd2, 0xd0, 0x06, 0xa0, - 0x37, 0x04, 0x3b, 0xf4, 0x88, 0x60, 0xda, 0x36, 0xba, 0x94, 0x71, 0x99, 0x3c, 0x2a, 0xe7, 0xaa, - 0x7e, 0x2e, 0xab, 0x8a, 0x5c, 0x56, 0x6d, 0xf0, 0x5c, 0xa7, 0x4e, 0x05, 0x4c, 0x2d, 0xce, 0xa3, - 0xfc, 0x9e, 0x82, 0x5c, 0x48, 0x8a, 0x7f, 0x8a, 0xdc, 0xe8, 0x19, 0x00, 0x39, 0xb7, 0x0d, 0x87, - 0xb8, 0x6d, 0x4c, 0x4b, 0xe3, 0x5c, 0xc6, 0x38, 0xc2, 0xbe, 0xc8, 0xe2, 0xaa, 0xcc, 0xa9, 0xeb, - 0xde, 0x05, 0xdf, 0x21, 0x14, 0x7b, 0xa7, 0x33, 0x93, 0x70, 0xc1, 0x6f, 0xf1, 0x45, 0x35, 0x20, - 0x53, 0xbe, 0x81, 0xf9, 0x61, 0xee, 0xe6, 0xa7, 0xf2, 0x39, 0xe4, 0x42, 0x56, 0xe0, 0x46, 0x2b, - 0x0d, 0x33, 0x9a, 0x1a, 0x26, 0x56, 0x7a, 0x30, 0xa7, 0x12, 0x93, 0x60, 0x97, 0x7c, 0xec, 0x83, - 0xa4, 0xdc, 0x86, 0x72, 0xd2, 0xd6, 0x3c, 0xed, 0xfc, 0x24, 0x41, 0x96, 0x87, 0x06, 0x5a, 0x84, - 0xd4, 0xa5, 0xc1, 0x93, 0x32, 0xb4, 0x88, 0x75, 0x53, 0x23, 0x59, 0x17, 0xdd, 0x87, 0xbc, 0xcd, - 0xe2, 0x97, 0xed, 0xbd, 0x49, 0x7a, 0x6e, 0x29, 0x5d, 0x49, 0x2f, 0xc9, 0x6a, 0x74, 0x52, 0x59, - 0x01, 0x79, 0x57, 0x4c, 0xa0, 0x22, 0xa4, 0x4f, 0x49, 0x8f, 0x07, 0x3f, 0xfb, 0x45, 0xd3, 0x70, - 0xed, 0x1d, 0x36, 0xcf, 0x44, 0xa8, 0xfa, 0x03, 0xe5, 0x7b, 0x90, 0x03, 0xf1, 0x50, 0x09, 0xb2, - 0xb6, 0x63, 0x7d, 0x4b, 0x78, 0x62, 0x97, 0x55, 0x31, 0x44, 0x08, 0xc6, 0x43, 0x61, 0xee, 0xfd, - 0xa3, 0x59, 0xc8, 0x68, 0x56, 0x07, 0x1b, 0x7e, 0xb6, 0x93, 0x55, 0x3e, 0x62, 0x28, 0xef, 0x88, - 0xc3, 0x12, 0x84, 0x77, 0xec, 0x64, 0x55, 0x0c, 0x19, 0xca, 0xc1, 0x41, 0xab, 0x51, 0xba, 0xe6, - 0xa3, 0xb0, 0x7f, 0xe5, 0x7d, 0x0a, 0x26, 0xc4, 0x15, 0x86, 0x0a, 0x81, 0x0d, 0x65, 0xcf, 0x56, - 0xa1, 0x5b, 0x39, 0x35, 0xda, 0xad, 0x2c, 0x6e, 0xd5, 0xf4, 0x48, 0xb7, 0x6a, 0xc4, 0x19, 0xe3, - 0xa3, 0x39, 0xe3, 0x29, 0x4b, 0x76, 0xdc, 0xcc, 0x6e, 0xe9, 0x9a, 0xb7, 0xcf, 0x6c, 0x2c, 0xd9, - 0xf1, 0x65, 0x35, 0x44, 0x89, 0xee, 0xc3, 0x38, 0xc5, 0xba, 0x5b, 0xca, 0x78, 0x1c, 0x83, 0x95, - 0x8d, 0xb7, 0xca, 0xc2, 0xf6, 0xd8, 0xab, 0x94, 0x34, 0x16, 0xb6, 0xd9, 0xcb, 0xc3, 0x96, 0x53, - 0xd7, 0xa9, 0xb2, 0x0b, 0x93, 0x61, 0x0d, 0x03, 0x9f, 0x49, 0x21, 0x9f, 0xfd, 0x27, 0x7c, 0x08, - 0x98, 0xdc, 0xa2, 0x29, 0xa8, 0xb2, 0xa6, 0xa0, 0xfa, 0xca, 0x6f, 0x0a, 0xc4, 0xe1, 0x30, 0x21, - 0xbd, 0x8f, 0xf5, 0x44, 0xa0, 0x85, 0x84, 0xec, 0x17, 0xc9, 0x7d, 0x21, 0xd7, 0xa5, 0x47, 0xab, - 0xcc, 0x7f, 0x90, 0x60, 0x42, 0xd8, 0x1b, 0x3d, 0x87, 0xec, 0x29, 0xe9, 0xb5, 0x3b, 0xd8, 0xe6, - 0x99, 0xff, 0x6e, 0xa2, 0x5f, 0xaa, 0x9b, 0xa4, 0xb7, 0x85, 0xed, 0x66, 0x97, 0x3a, 0x3d, 0x35, - 0x73, 0xea, 0x0d, 0xca, 0xcf, 0x20, 0x17, 0x9a, 0x1e, 0x35, 0x14, 0x9e, 0xa7, 0xfe, 0x27, 0x29, - 0x3b, 0x50, 0x8c, 0x57, 0x39, 0xe8, 0x05, 0x64, 0xfd, 0x3a, 0xc7, 0x4d, 0x14, 0x65, 0xcf, 0xe8, - 0xea, 0x26, 0xd9, 0x75, 0x2c, 0x9b, 0x38, 0xb4, 0xe7, 0x73, 0xab, 0x82, 0x43, 0xf9, 0x2b, 0x0d, - 0xd3, 0x49, 0x14, 0xe8, 0x33, 0x00, 0x96, 0x3c, 0x23, 0xe5, 0xd6, 0x7c, 0xfc, 0x50, 0x44, 0x79, - 0x36, 0xc6, 0x54, 0x99, 0x62, 0x9d, 0x03, 0xbc, 0x86, 0x62, 0x70, 0xba, 0xda, 0x91, 0x8a, 0xf5, - 0x7e, 0xf2, 0x69, 0x1c, 0x00, 0xbb, 0x1e, 0xf0, 0x73, 0xc8, 0x6d, 0xb8, 0x1e, 0x38, 0x95, 0x23, - 0xfa, 0xbe, 0xbb, 0x97, 0x18, 0x47, 0x03, 0x80, 0x05, 0xc1, 0xcd, 0xf1, 0x36, 0xa1, 0x20, 0xea, - 0x0a, 0x0e, 0xe7, 0xc7, 0x98, 0x92, 0x74, 0x14, 0x06, 0xd0, 0xf2, 0x9c, 0x97, 0x83, 0xed, 0xc2, - 0x04, 0x23, 0xc0, 0xd4, 0x72, 0x4a, 0x50, 0x91, 0x96, 0x0a, 0xcb, 0x8f, 0x2f, 0xf5, 0x43, 0x75, - 0xcd, 0xea, 0xd8, 0xd8, 0x31, 0x5c, 0x56, 0x77, 0xfa, 0xbc, 0x6a, 0x80, 0xa2, 0x54, 0x00, 0x0d, - 0xae, 0x23, 0x80, 0x4c, 0xf3, 0xf5, 0x41, 0xfd, 0xd5, 0x5e, 0x71, 0x6c, 0x75, 0x0a, 0xae, 0xdb, - 0x1c, 0x90, 0x6b, 0xa0, 0xac, 0xc3, 0x6c, 0xb2, 0xfe, 0xf1, 0x82, 0x50, 0x1a, 0x2c, 0x08, 0x57, - 0x01, 0x26, 0x04, 0x9e, 0xf2, 0x7f, 0x98, 0x1a, 0xf0, 0x70, 0xa4, 0x62, 0x94, 0xe2, 0xbd, 0x5e, - 0x98, 0xfb, 0x6b, 0xb8, 0x39, 0xc4, 0xb1, 0xe8, 0xb1, 0x1f, 0x3a, 0xac, 0x70, 0x90, 0x78, 0xe1, - 0x10, 0xb6, 0xd3, 0x26, 0xe9, 0x1d, 0xb2, 0xf3, 0xbe, 0x8b, 0x0d, 0x66, 0x65, 0x16, 0x34, 0x87, - 0xd8, 0x8c, 0x80, 0x3f, 0x85, 0xc9, 0x30, 0xd5, 0xc8, 0xc9, 0xe4, 0x67, 0x09, 0x66, 0x12, 0xbd, - 0x89, 0xca, 0xb1, 0xcc, 0xc2, 0xd4, 0x12, 0xb9, 0x65, 0x3a, 0x9c, 0x5b, 0x36, 0xc6, 0xf8, 0x05, - 0x53, 0x8a, 0x66, 0x17, 0x26, 0x29, 0xcf, 0x2f, 0xe5, 0x58, 0x7e, 0x61, 0x58, 0x7c, 0x22, 0xa2, - 0xc5, 0xaf, 0x29, 0x98, 0x1a, 0xe8, 0x3b, 0x98, 0xe4, 0xa6, 0xd1, 0x31, 0x7c, 0x39, 0xf2, 0xaa, - 0x3f, 0x60, 0xb3, 0xe1, 0x96, 0xc1, 0x1f, 0xa0, 0xcf, 0x21, 0xeb, 0x5a, 0x0e, 0xdd, 0x24, 0x3d, - 0x4f, 0x88, 0xc2, 0xf2, 0xe2, 0xc5, 0x4d, 0x4d, 0x75, 0xcf, 0xa7, 0x56, 0x05, 0x1b, 0x7a, 0x09, - 0x32, 0xfb, 0xdd, 0x71, 0x34, 0x7e, 0xf8, 0x0b, 0xcb, 0x4b, 0x23, 0x60, 0x78, 0xf4, 0x6a, 0x9f, - 0x55, 0x79, 0x00, 0x72, 0x30, 0x8f, 0x0a, 0x00, 0x8d, 0xe6, 0xde, 0x5a, 0x73, 0xbb, 0xd1, 0xda, - 0x5e, 0x2f, 0x8e, 0xa1, 0x3c, 0xc8, 0xf5, 0x60, 0x28, 0x29, 0xb7, 0x21, 0xcb, 0xe5, 0x40, 0x53, - 0x90, 0x5f, 0x53, 0x9b, 0xf5, 0xfd, 0xd6, 0xce, 0x76, 0x7b, 0xbf, 0xb5, 0xd5, 0x2c, 0x8e, 0x2d, - 0xff, 0x98, 0x85, 0x1c, 0xf3, 0xd1, 0x9a, 0x2f, 0x00, 0x3a, 0x84, 0x7c, 0xe4, 0xbd, 0x05, 0x45, - 0x6f, 0xb7, 0xa4, 0x37, 0x9d, 0xb2, 0x72, 0x11, 0x09, 0xaf, 0xf7, 0xb6, 0x00, 0xfa, 0xef, 0x2c, - 0x28, 0x7a, 0xb3, 0x0d, 0xbc, 0xe3, 0x94, 0x17, 0x86, 0xae, 0x73, 0xb8, 0x2f, 0xa1, 0x10, 0x7d, - 0x41, 0x40, 0x49, 0x42, 0xc4, 0xba, 0xba, 0xf2, 0xbd, 0x0b, 0x69, 0x38, 0xf4, 0x2e, 0xe4, 0x42, - 0x4f, 0x26, 0x68, 0x40, 0x94, 0x38, 0x68, 0x65, 0x38, 0x01, 0x47, 0xac, 0x43, 0xc6, 0x7f, 0x9f, - 0x40, 0xd1, 0x22, 0x34, 0xf2, 0xd2, 0x51, 0xbe, 0x95, 0xb8, 0xc6, 0x21, 0x0e, 0x21, 0x1f, 0x79, - 0x0e, 0x88, 0xb9, 0x25, 0xe9, 0xad, 0x23, 0xe6, 0x96, 0xe4, 0xd7, 0x84, 0x3d, 0x98, 0x0c, 0xb7, - 0xda, 0xa8, 0x32, 0xc0, 0x13, 0x7b, 0x13, 0x28, 0xdf, 0xbd, 0x80, 0xa2, 0xef, 0x9c, 0x68, 0x2f, - 0x1a, 0x73, 0x4e, 0x62, 0xcb, 0x1d, 0x73, 0xce, 0x90, 0x66, 0xf6, 0x2d, 0xcc, 0x26, 0x37, 0x16, - 0xe8, 0x41, 0xdc, 0x0d, 0xc3, 0x9b, 0xcd, 0xf2, 0xbf, 0x47, 0xa2, 0xe5, 0x5b, 0x12, 0x40, 0x83, - 0x25, 0x3f, 0x5a, 0x8c, 0xb5, 0x13, 0x43, 0xda, 0x91, 0xf2, 0xbf, 0x2e, 0xa5, 0xf3, 0xb7, 0x59, - 0xfd, 0xe4, 0xab, 0x17, 0xba, 0x41, 0xdf, 0x9c, 0x1d, 0x55, 0x8f, 0xad, 0x4e, 0xcd, 0xab, 0xc3, - 0x2c, 0x47, 0xaf, 0x05, 0xaf, 0xb4, 0x3a, 0xe9, 0xd6, 0xec, 0xa3, 0x87, 0xba, 0x55, 0x4b, 0x7a, - 0xed, 0x3d, 0xca, 0x78, 0xc5, 0xe0, 0xca, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x74, 0x70, - 0xf4, 0x0c, 0x16, 0x00, 0x00, + // 1812 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0xdb, 0xc8, + 0x15, 0x37, 0x25, 0x47, 0x32, 0x9f, 0x2c, 0x59, 0x9e, 0xd8, 0x8a, 0xac, 0x4d, 0x6c, 0x85, 0x1b, + 0xa4, 0xc6, 0x76, 0x57, 0xda, 0xda, 0xbb, 0x8b, 0x26, 0xbb, 0x6d, 0x57, 0xb6, 0x14, 0x5b, 0xeb, + 0xf8, 0x63, 0xe9, 0x0f, 0x60, 0x93, 0x02, 0xc2, 0xd8, 0x1c, 0xd3, 0xac, 0x29, 0x91, 0x21, 0xc7, + 0xa9, 0x75, 0x2a, 0x7a, 0x6d, 0x7b, 0x2b, 0x50, 0xa0, 0x87, 0x9e, 0xfa, 0x87, 0xf4, 0x98, 0x9e, + 0xfa, 0x37, 0x15, 0x43, 0x0e, 0x29, 0x0e, 0x49, 0xd9, 0xb2, 0x0f, 0x41, 0x7b, 0x11, 0x38, 0x33, + 0xef, 0xfd, 0xe6, 0xbd, 0xf7, 0x9b, 0x8f, 0x37, 0x4f, 0xf0, 0xfc, 0xdc, 0x1c, 0x52, 0x62, 0x68, + 0x66, 0x53, 0xc3, 0x14, 0x9f, 0x61, 0x8a, 0x4d, 0x4b, 0x8f, 0x7e, 0x37, 0x6c, 0xc7, 0xa2, 0x16, + 0x2a, 0x44, 0xba, 0x6a, 0x8f, 0x43, 0xa5, 0x33, 0xcb, 0x21, 0x4d, 0xd3, 0xa0, 0xc4, 0xc1, 0xa6, + 0xeb, 0x8b, 0xd6, 0x96, 0x75, 0xcb, 0xd2, 0x4d, 0xd2, 0xf4, 0x5a, 0xa7, 0x57, 0xe7, 0x4d, 0xed, + 0xca, 0xc1, 0xd4, 0xb0, 0x06, 0x7c, 0x7c, 0x25, 0x3e, 0x4e, 0x8d, 0x3e, 0x71, 0x29, 0xee, 0xdb, + 0xbe, 0x80, 0xf2, 0x0a, 0x16, 0x36, 0x1d, 0x82, 0x29, 0x69, 0x63, 0x8a, 0x5d, 0x42, 0x55, 0xf2, + 0xee, 0x8a, 0xb8, 0x14, 0x35, 0x20, 0xaf, 0xf9, 0x3d, 0x55, 0xa9, 0x2e, 0xad, 0x16, 0xd6, 0x16, + 0x1a, 0x51, 0x43, 0x03, 0xe9, 0x40, 0x48, 0x79, 0x04, 0x8b, 0x31, 0x1c, 0xd7, 0xb6, 0x06, 0x2e, + 0x51, 0x3a, 0x30, 0xbf, 0x45, 0x68, 0x0c, 0xfd, 0xcb, 0x38, 0x7a, 0x25, 0x0d, 0xbd, 0xdb, 0x1e, + 0xe1, 0xb7, 0x01, 0x45, 0x61, 0x7c, 0xf0, 0x3b, 0x5b, 0xf9, 0x37, 0xc9, 0x83, 0x69, 0x39, 0xd4, + 0x38, 0xc7, 0x67, 0xf7, 0x37, 0x07, 0x3d, 0x85, 0x02, 0xe6, 0x20, 0x3d, 0x43, 0xab, 0x66, 0xea, + 0xd2, 0xaa, 0xbc, 0x3d, 0xa5, 0x42, 0xd0, 0xd9, 0xd5, 0xd0, 0x27, 0x30, 0x43, 0xb1, 0xde, 0x1b, + 0xe0, 0x3e, 0xa9, 0x66, 0xf9, 0x78, 0x9e, 0x62, 0x7d, 0x0f, 0xf7, 0xc9, 0x46, 0x09, 0x66, 0xdf, + 0x5d, 0x11, 0x67, 0xd8, 0xbb, 0xc0, 0x03, 0xcd, 0x24, 0xca, 0x36, 0x3c, 0x14, 0xec, 0xe2, 0xfe, + 0xfd, 0x02, 0x66, 0x02, 0x44, 0x6e, 0xd9, 0xa2, 0x60, 0x59, 0xa8, 0x10, 0x8a, 0x29, 0x3f, 0x04, + 0x44, 0xc4, 0x9d, 0xbc, 0x07, 0x56, 0x15, 0x2a, 0x71, 0x2c, 0xce, 0xea, 0x3a, 0x14, 0x5b, 0x9a, + 0x76, 0x84, 0xf5, 0x00, 0x5d, 0x81, 0x2c, 0xc5, 0x3a, 0x07, 0x2e, 0x0b, 0xc0, 0x4c, 0x8a, 0x0d, + 0x2a, 0x65, 0x28, 0x05, 0x4a, 0x1c, 0xe6, 0x5f, 0x12, 0x2c, 0xbc, 0x36, 0xdc, 0xd0, 0x71, 0xf7, + 0xfe, 0x8c, 0x7c, 0x0d, 0xb9, 0x73, 0xc3, 0xa4, 0xc4, 0xf1, 0xc8, 0x28, 0xac, 0x3d, 0x11, 0x14, + 0x5e, 0x79, 0x43, 0x9d, 0x6b, 0xdb, 0x21, 0xae, 0x6b, 0x58, 0x03, 0x95, 0x0b, 0xa3, 0x5f, 0x03, + 0xd8, 0x58, 0x37, 0x06, 0xde, 0xa6, 0xf1, 0x78, 0x2a, 0xac, 0x2d, 0x0b, 0xaa, 0x07, 0xe1, 0xf0, + 0xbe, 0xcd, 0x7e, 0x5d, 0x35, 0xa2, 0xa1, 0x5c, 0xc2, 0x62, 0xcc, 0x01, 0x4e, 0xdd, 0x3a, 0xc8, + 0x41, 0x1c, 0xdd, 0xaa, 0x54, 0xcf, 0x8e, 0x8f, 0xf7, 0x48, 0x0e, 0x3d, 0x01, 0x18, 0x90, 0x6b, + 0xda, 0xa3, 0xd6, 0x25, 0x19, 0xf8, 0xab, 0x4a, 0x95, 0x59, 0xcf, 0x11, 0xeb, 0x50, 0xfe, 0x22, + 0xc1, 0x43, 0x36, 0x1b, 0x77, 0x3f, 0x8c, 0xd6, 0xc8, 0x77, 0xe9, 0xfe, 0xbe, 0x67, 0xee, 0xec, + 0xbb, 0xee, 0x93, 0x37, 0xb2, 0x86, 0xbb, 0xfe, 0x25, 0xcc, 0x70, 0x56, 0x02, 0xcf, 0xd3, 0xb7, + 0x65, 0x28, 0x75, 0x9b, 0xdf, 0xff, 0x96, 0x60, 0xf1, 0xd8, 0xd6, 0x52, 0x16, 0xf5, 0x47, 0xdf, + 0xb9, 0xe8, 0x0b, 0x98, 0x66, 0x50, 0xd5, 0x69, 0xcf, 0xb1, 0xa5, 0x54, 0x4a, 0xd9, 0xb4, 0xaa, + 0x27, 0x96, 0xd8, 0xe8, 0x2f, 0xa0, 0x12, 0xf7, 0x84, 0x47, 0x6d, 0x45, 0x34, 0x4c, 0xf2, 0x82, + 0x10, 0x31, 0x4b, 0xf9, 0xbb, 0x04, 0x8b, 0x6d, 0x62, 0x92, 0xff, 0x81, 0x28, 0x24, 0xdc, 0x7a, + 0x03, 0x15, 0xd1, 0xb4, 0x70, 0x6d, 0x7e, 0x9f, 0xdc, 0x07, 0x8a, 0x68, 0x5d, 0x9a, 0x4b, 0x91, + 0x4d, 0xc1, 0x4e, 0xa1, 0xb8, 0x0c, 0x3f, 0x3e, 0x30, 0x14, 0x55, 0xe2, 0x12, 0xe7, 0xbd, 0xb7, + 0x1e, 0xbb, 0x6d, 0xf4, 0x35, 0x00, 0xf7, 0x30, 0x08, 0xe1, 0xf8, 0x58, 0xc8, 0x5c, 0xb2, 0xab, + 0xa1, 0xa5, 0x88, 0xab, 0xfe, 0xe2, 0x0b, 0x1c, 0x55, 0x3e, 0x48, 0xf0, 0x64, 0x8b, 0xd0, 0x7d, + 0xa7, 0x73, 0x4d, 0xc9, 0x40, 0x8b, 0x4c, 0x17, 0x38, 0xd8, 0x82, 0x92, 0x33, 0xea, 0x1d, 0xcd, + 0x5b, 0x13, 0xe6, 0x15, 0xec, 0x54, 0x8b, 0x11, 0x0d, 0x7f, 0x7e, 0xeb, 0xf7, 0x03, 0xe2, 0x84, + 0x54, 0xa8, 0x79, 0xaf, 0xdd, 0xd5, 0xd0, 0x36, 0xa0, 0x0b, 0x82, 0x1d, 0x7a, 0x4a, 0x30, 0xed, + 0x19, 0x03, 0xca, 0xb4, 0x4c, 0x7e, 0x4e, 0x2d, 0x35, 0xfc, 0xdb, 0xbd, 0x11, 0xdc, 0xee, 0x8d, + 0x36, 0xbf, 0xfd, 0xd5, 0xf9, 0x50, 0xa9, 0xcb, 0x75, 0x14, 0x1b, 0x96, 0xd3, 0x1d, 0x09, 0xa9, + 0xda, 0x83, 0xd9, 0x88, 0x5d, 0x01, 0x5b, 0x9f, 0x09, 0x7e, 0xdc, 0x18, 0x0b, 0x55, 0xd0, 0x57, + 0xfe, 0x99, 0x81, 0x42, 0x44, 0xe8, 0xff, 0x25, 0x52, 0xe8, 0x05, 0x00, 0xb9, 0xb6, 0x0d, 0x87, + 0xb8, 0x3d, 0x4c, 0xab, 0xd3, 0xdc, 0xc6, 0x38, 0xc2, 0x51, 0x90, 0x49, 0xa9, 0x32, 0x97, 0x6e, + 0x79, 0x97, 0x6c, 0x9f, 0x50, 0xec, 0x9d, 0x10, 0xb9, 0x94, 0x4b, 0x76, 0x97, 0x0f, 0xaa, 0xa1, + 0x98, 0xf2, 0xdb, 0x71, 0xbc, 0x84, 0x27, 0xc3, 0x4b, 0x28, 0x44, 0xa2, 0xc0, 0x83, 0x56, 0x1d, + 0x17, 0x34, 0x35, 0x2a, 0xac, 0xf4, 0x60, 0x65, 0x2c, 0xeb, 0x1c, 0xfe, 0xbb, 0x54, 0xda, 0xc7, + 0xe3, 0x8b, 0x24, 0x0f, 0x61, 0x49, 0x25, 0x26, 0xc1, 0x2e, 0xf9, 0xd8, 0x7b, 0x43, 0xb9, 0x80, + 0x5a, 0x72, 0xea, 0x70, 0x35, 0xff, 0x90, 0xea, 0xd6, 0xf3, 0xd8, 0xcc, 0x63, 0x2c, 0x8f, 0x39, + 0xf9, 0x38, 0x6d, 0xa6, 0xf0, 0x18, 0xfa, 0x93, 0x04, 0x79, 0x7e, 0xae, 0xa0, 0xe7, 0x90, 0xb9, + 0xf5, 0xe4, 0xc9, 0x18, 0x9a, 0xb0, 0x50, 0x32, 0x13, 0x2d, 0x14, 0xf4, 0x0c, 0x8a, 0x36, 0x3b, + 0x15, 0xd9, 0xdc, 0x3b, 0x64, 0xe8, 0x56, 0xb3, 0xf5, 0xec, 0xaa, 0xac, 0x8a, 0x9d, 0xca, 0x3a, + 0xc8, 0x07, 0x41, 0x07, 0x2a, 0x43, 0xf6, 0x92, 0x0c, 0xf9, 0x5d, 0xc2, 0x3e, 0xd1, 0x02, 0x3c, + 0x78, 0x8f, 0xcd, 0xab, 0xe0, 0x9c, 0xf3, 0x1b, 0xca, 0x1f, 0x40, 0x0e, 0xcd, 0x43, 0x55, 0xc8, + 0xdb, 0x8e, 0xf5, 0x3b, 0xc2, 0xf3, 0x44, 0x59, 0x0d, 0x9a, 0x08, 0xc1, 0x74, 0xe4, 0x8c, 0xf4, + 0xbe, 0x51, 0x05, 0x72, 0x9a, 0xd5, 0xc7, 0x86, 0x9f, 0x3c, 0xc9, 0x2a, 0x6f, 0x31, 0x94, 0xf7, + 0xc4, 0x61, 0xf9, 0x86, 0xb7, 0x83, 0x64, 0x35, 0x68, 0x32, 0x94, 0xe3, 0xe3, 0x6e, 0xbb, 0xfa, + 0xc0, 0x47, 0x61, 0xdf, 0xca, 0x87, 0x0c, 0xcc, 0x04, 0xc7, 0x3b, 0x2a, 0x85, 0x31, 0x94, 0xbd, + 0x58, 0x45, 0xae, 0xb7, 0xcc, 0x64, 0xd7, 0x5b, 0x70, 0x49, 0x67, 0x27, 0xba, 0xa4, 0x05, 0x32, + 0xa6, 0x27, 0x23, 0xe3, 0x1b, 0x96, 0x3b, 0xf1, 0x30, 0xbb, 0xd5, 0x07, 0xde, 0x3c, 0x95, 0x58, + 0xee, 0xc4, 0x87, 0xd5, 0x88, 0x24, 0x7a, 0x06, 0xd3, 0x14, 0xeb, 0x6e, 0x35, 0xe7, 0x69, 0x24, + 0x13, 0x65, 0x6f, 0x94, 0x9d, 0x40, 0x67, 0x5e, 0xe2, 0xad, 0xb1, 0x13, 0x28, 0x7f, 0xfb, 0x09, + 0xc4, 0xa5, 0x5b, 0x54, 0x39, 0x80, 0xd9, 0xa8, 0x87, 0x21, 0x67, 0x52, 0x84, 0xb3, 0xcf, 0xa3, + 0x8b, 0x80, 0xd9, 0x1d, 0xbc, 0x31, 0x1b, 0xec, 0x8d, 0xd9, 0x78, 0xed, 0xbf, 0x31, 0x83, 0xc5, + 0x61, 0x42, 0xf6, 0x08, 0xeb, 0xa9, 0x40, 0x2b, 0x29, 0x69, 0x84, 0x90, 0x44, 0x44, 0xa8, 0xcb, + 0x4e, 0xf6, 0xd0, 0xfb, 0xa3, 0x04, 0x33, 0x41, 0xbc, 0xd1, 0x4b, 0xc8, 0x5f, 0x92, 0x61, 0xaf, + 0x8f, 0x6d, 0xbe, 0x7d, 0x9f, 0xa6, 0xf2, 0xd2, 0xd8, 0x21, 0xc3, 0x5d, 0x6c, 0x77, 0x06, 0xd4, + 0x19, 0xaa, 0xb9, 0x4b, 0xaf, 0x51, 0x7b, 0x01, 0x85, 0x48, 0xf7, 0xa4, 0x5b, 0xe1, 0x65, 0xe6, + 0x97, 0x92, 0xb2, 0x0f, 0xe5, 0x78, 0xd2, 0x8c, 0xbe, 0x85, 0xbc, 0x9f, 0x36, 0xbb, 0xa9, 0xa6, + 0x1c, 0x1a, 0x03, 0xdd, 0x24, 0x07, 0x8e, 0x65, 0x13, 0x87, 0x0e, 0x7d, 0x6d, 0x35, 0xd0, 0x50, + 0xfe, 0x93, 0x85, 0x85, 0x34, 0x09, 0xf4, 0x1b, 0x00, 0x96, 0x79, 0x08, 0xd9, 0xfb, 0x72, 0x7c, + 0x51, 0x88, 0x3a, 0xdb, 0x53, 0xaa, 0x4c, 0xb1, 0xce, 0x01, 0x7e, 0x84, 0x72, 0xb8, 0xba, 0x7a, + 0xc2, 0x03, 0xe8, 0x59, 0xfa, 0x6a, 0x4c, 0x80, 0xcd, 0x85, 0xfa, 0x1c, 0x72, 0x0f, 0xe6, 0x42, + 0x52, 0x39, 0xa2, 0xcf, 0xdd, 0xa7, 0xa9, 0xfb, 0x28, 0x01, 0x58, 0x0a, 0xb4, 0x39, 0xde, 0x0e, + 0x94, 0x82, 0xa4, 0x8c, 0xc3, 0xf9, 0x7b, 0x4c, 0x49, 0x5b, 0x0a, 0x09, 0xb4, 0x22, 0xd7, 0xe5, + 0x60, 0x07, 0x30, 0xc3, 0x04, 0x30, 0xb5, 0x9c, 0x2a, 0xd4, 0xa5, 0xd5, 0xd2, 0xda, 0x57, 0xb7, + 0xf2, 0xd0, 0xd8, 0xb4, 0xfa, 0x36, 0x76, 0x0c, 0x97, 0x3d, 0x63, 0x7c, 0x5d, 0x35, 0x44, 0x51, + 0xea, 0x80, 0x92, 0xe3, 0x08, 0x20, 0xd7, 0xf9, 0xf1, 0xb8, 0xf5, 0xfa, 0xb0, 0x3c, 0xb5, 0x31, + 0x0f, 0x73, 0x36, 0x07, 0xe4, 0x1e, 0x28, 0x5b, 0x50, 0x49, 0xf7, 0x3f, 0x9e, 0x59, 0x4b, 0xc9, + 0xcc, 0x7a, 0x03, 0x60, 0x26, 0xc0, 0x53, 0xbe, 0x83, 0xf9, 0x04, 0xc3, 0x42, 0xea, 0x2d, 0xc5, + 0x53, 0xef, 0xa8, 0xf6, 0x5b, 0x78, 0x34, 0x86, 0x58, 0xf4, 0x95, 0xbf, 0x75, 0x58, 0x0e, 0x24, + 0xf1, 0x1c, 0x28, 0x1a, 0xa7, 0x1d, 0x32, 0x3c, 0x61, 0xeb, 0xfd, 0x00, 0x1b, 0x2c, 0xca, 0x6c, + 0xd3, 0x9c, 0x60, 0x53, 0x00, 0xff, 0x06, 0x66, 0xa3, 0x52, 0x13, 0x5f, 0x26, 0x7f, 0x66, 0xef, + 0x94, 0x34, 0x36, 0x51, 0x2d, 0x76, 0xb3, 0x30, 0xb7, 0x82, 0xbb, 0x65, 0x21, 0x7a, 0xb7, 0x6c, + 0x4f, 0xf1, 0x03, 0xa6, 0x2a, 0xde, 0x2e, 0xcc, 0x52, 0x7e, 0xbf, 0xd4, 0x62, 0xf7, 0x0b, 0xc3, + 0xe2, 0x1d, 0x82, 0x17, 0x7f, 0xcd, 0xc0, 0x7c, 0xe2, 0x19, 0xcb, 0x2c, 0x37, 0x8d, 0xbe, 0xe1, + 0xdb, 0x51, 0x54, 0xfd, 0x06, 0xeb, 0x8d, 0xbe, 0x40, 0xfd, 0x06, 0xfa, 0x1e, 0xf2, 0xae, 0xe5, + 0xd0, 0x1d, 0x32, 0xf4, 0x8c, 0x28, 0xc5, 0x72, 0x88, 0x04, 0x78, 0xe3, 0xd0, 0x97, 0x56, 0x03, + 0x35, 0xf4, 0x0a, 0x64, 0xf6, 0xb9, 0xef, 0x68, 0x7c, 0xf1, 0x97, 0xd6, 0x56, 0x27, 0xc0, 0xf0, + 0xe4, 0xd5, 0x91, 0xaa, 0xf2, 0x19, 0xc8, 0x61, 0x3f, 0x2a, 0x01, 0xb4, 0x3b, 0x87, 0x9b, 0x9d, + 0xbd, 0x76, 0x77, 0x6f, 0xab, 0x3c, 0x85, 0x8a, 0x20, 0xb7, 0xc2, 0xa6, 0xa4, 0x3c, 0x86, 0x3c, + 0xb7, 0x03, 0xcd, 0x43, 0x71, 0x53, 0xed, 0xb4, 0x8e, 0xba, 0xfb, 0x7b, 0xbd, 0xa3, 0xee, 0x6e, + 0xa7, 0x3c, 0xb5, 0xf6, 0x0f, 0x80, 0x02, 0xe3, 0x68, 0xd3, 0x37, 0x00, 0x9d, 0x40, 0x51, 0x28, + 0xdf, 0x21, 0xf1, 0x74, 0x4b, 0x2b, 0x11, 0xd6, 0x94, 0x9b, 0x44, 0x78, 0x6e, 0xb9, 0x0b, 0x30, + 0x2a, 0xdb, 0xa1, 0xe5, 0xf8, 0x53, 0x22, 0x86, 0xb8, 0x32, 0x76, 0x9c, 0xc3, 0xfd, 0x04, 0x25, + 0xb1, 0x20, 0x85, 0xd2, 0x8c, 0x88, 0xbd, 0x25, 0x6b, 0x9f, 0xde, 0x28, 0xc3, 0xa1, 0x0f, 0xa0, + 0x10, 0xa9, 0xc0, 0xa1, 0x84, 0x29, 0x71, 0xd0, 0xfa, 0x78, 0x01, 0x8e, 0xd8, 0x82, 0x9c, 0x5f, + 0xee, 0x42, 0x62, 0xba, 0x2b, 0x14, 0xce, 0x6a, 0x9f, 0xa4, 0x8e, 0x71, 0x88, 0x13, 0x28, 0x0a, + 0xd5, 0xa5, 0x18, 0x2d, 0x69, 0xa5, 0xb3, 0x18, 0x2d, 0xe9, 0xc5, 0xa9, 0x43, 0x98, 0x8d, 0x56, + 0x6e, 0x50, 0x3d, 0xa1, 0x13, 0x2b, 0x31, 0xd5, 0x9e, 0xde, 0x20, 0x31, 0x22, 0x47, 0x2c, 0x6d, + 0xc4, 0xc8, 0x49, 0xad, 0xe0, 0xc4, 0xc8, 0x19, 0x53, 0x1b, 0xf9, 0x09, 0x4a, 0x62, 0x09, 0x00, + 0x4d, 0x50, 0x43, 0x88, 0x41, 0xa7, 0xd7, 0x10, 0xd0, 0x5b, 0x98, 0x8b, 0x55, 0x2e, 0xd0, 0x4d, + 0x7a, 0xee, 0x9d, 0xc0, 0xdf, 0x41, 0x25, 0xfd, 0xf5, 0x85, 0xee, 0xf0, 0xaa, 0xae, 0xfd, 0x7c, + 0x22, 0x59, 0x3e, 0x25, 0x85, 0x47, 0x63, 0x1e, 0x7c, 0x68, 0x12, 0x9c, 0xd0, 0xbf, 0xcf, 0x27, + 0x13, 0xe6, 0xb3, 0x12, 0x40, 0xc9, 0x07, 0x12, 0x9a, 0xf0, 0xb1, 0x55, 0xfb, 0xd9, 0xad, 0x72, + 0x7c, 0x1a, 0x1d, 0x1e, 0xa6, 0xbc, 0xf8, 0xd0, 0x6d, 0xfa, 0xee, 0x5d, 0x27, 0xda, 0xf8, 0xd5, + 0x9b, 0x6f, 0x75, 0x83, 0x5e, 0x5c, 0x9d, 0x36, 0xce, 0xac, 0x7e, 0xd3, 0x4b, 0x8f, 0x2d, 0x47, + 0x6f, 0x86, 0xff, 0xc5, 0xe8, 0x64, 0xd0, 0xb4, 0x4f, 0xbf, 0xd0, 0xad, 0x66, 0xda, 0x7f, 0x3a, + 0xa7, 0x39, 0x2f, 0x47, 0x5f, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0xce, 0xf9, 0x78, + 0xf2, 0x19, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2389,6 +2694,14 @@ type DataCatalogClient interface { ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) // Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage. UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*UpdateArtifactResponse, error) + // Deletes an existing artifact, removing the stored artifact data from the underlying blob storage. + DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*DeleteArtifactResponse, error) + // Deletes multiple existing artifacts, removing the stored artifact data from the underlying blob storage. + // This endpoint is idempotent, trying to delete an unknown artifact or deleting existing artifact multiple times + // will not result in an error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts deleted, however the operation can simply be retried to remove the remaining entries. + DeleteArtifacts(ctx context.Context, in *DeleteArtifactsRequest, opts ...grpc.CallOption) (*DeleteArtifactResponse, error) // Attempts to get or extend a reservation for the corresponding artifact. If one already exists // (ie. another entity owns the reservation) then that reservation is retrieved. // Once you acquire a reservation, you need to periodically extend the reservation with an @@ -2401,9 +2714,21 @@ type DataCatalogClient interface { // task B may take over the reservation, resulting in two tasks A and B running in parallel. So // a third task C may get the Artifact from A or B, whichever writes last. GetOrExtendReservation(ctx context.Context, in *GetOrExtendReservationRequest, opts ...grpc.CallOption) (*GetOrExtendReservationResponse, error) + // Attempts to get or extend reservations for multiple artifacts in a single operation. + // The first non-recoverable error encountered will be returned. Note that this might leave some artifacts in a + // reserved state if one acquisition fails - retry the operation or release all attempted artifacts (as the release + // endpoint is idempotent) to ensure no resources are locked accidentally in case of an error. + GetOrExtendReservations(ctx context.Context, in *GetOrExtendReservationsRequest, opts ...grpc.CallOption) (*GetOrExtendReservationsResponse, error) // Release the reservation when the task holding the spot fails so that the other tasks // can grab the spot. ReleaseReservation(ctx context.Context, in *ReleaseReservationRequest, opts ...grpc.CallOption) (*ReleaseReservationResponse, error) + // Releases reservations for multiple artifacts in a single operation. + // This endpoint is idempotent, trying to release an unknown reservation or releasing existing reservations multiple + // times will not result in error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts in their previous reserved state, however the operation can simply be retried to remove the remaining + // reservations. + ReleaseReservations(ctx context.Context, in *ReleaseReservationsRequest, opts ...grpc.CallOption) (*ReleaseReservationResponse, error) } type dataCatalogClient struct { @@ -2486,6 +2811,24 @@ func (c *dataCatalogClient) UpdateArtifact(ctx context.Context, in *UpdateArtifa return out, nil } +func (c *dataCatalogClient) DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*DeleteArtifactResponse, error) { + out := new(DeleteArtifactResponse) + err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/DeleteArtifact", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *dataCatalogClient) DeleteArtifacts(ctx context.Context, in *DeleteArtifactsRequest, opts ...grpc.CallOption) (*DeleteArtifactResponse, error) { + out := new(DeleteArtifactResponse) + err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/DeleteArtifacts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *dataCatalogClient) GetOrExtendReservation(ctx context.Context, in *GetOrExtendReservationRequest, opts ...grpc.CallOption) (*GetOrExtendReservationResponse, error) { out := new(GetOrExtendReservationResponse) err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/GetOrExtendReservation", in, out, opts...) @@ -2495,6 +2838,15 @@ func (c *dataCatalogClient) GetOrExtendReservation(ctx context.Context, in *GetO return out, nil } +func (c *dataCatalogClient) GetOrExtendReservations(ctx context.Context, in *GetOrExtendReservationsRequest, opts ...grpc.CallOption) (*GetOrExtendReservationsResponse, error) { + out := new(GetOrExtendReservationsResponse) + err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/GetOrExtendReservations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *dataCatalogClient) ReleaseReservation(ctx context.Context, in *ReleaseReservationRequest, opts ...grpc.CallOption) (*ReleaseReservationResponse, error) { out := new(ReleaseReservationResponse) err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/ReleaseReservation", in, out, opts...) @@ -2504,6 +2856,15 @@ func (c *dataCatalogClient) ReleaseReservation(ctx context.Context, in *ReleaseR return out, nil } +func (c *dataCatalogClient) ReleaseReservations(ctx context.Context, in *ReleaseReservationsRequest, opts ...grpc.CallOption) (*ReleaseReservationResponse, error) { + out := new(ReleaseReservationResponse) + err := c.cc.Invoke(ctx, "/datacatalog.DataCatalog/ReleaseReservations", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DataCatalogServer is the server API for DataCatalog service. type DataCatalogServer interface { // Create a new Dataset. Datasets are unique based on the DatasetID. Datasets are logical groupings of artifacts. @@ -2524,6 +2885,14 @@ type DataCatalogServer interface { ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) // Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage. UpdateArtifact(context.Context, *UpdateArtifactRequest) (*UpdateArtifactResponse, error) + // Deletes an existing artifact, removing the stored artifact data from the underlying blob storage. + DeleteArtifact(context.Context, *DeleteArtifactRequest) (*DeleteArtifactResponse, error) + // Deletes multiple existing artifacts, removing the stored artifact data from the underlying blob storage. + // This endpoint is idempotent, trying to delete an unknown artifact or deleting existing artifact multiple times + // will not result in an error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts deleted, however the operation can simply be retried to remove the remaining entries. + DeleteArtifacts(context.Context, *DeleteArtifactsRequest) (*DeleteArtifactResponse, error) // Attempts to get or extend a reservation for the corresponding artifact. If one already exists // (ie. another entity owns the reservation) then that reservation is retrieved. // Once you acquire a reservation, you need to periodically extend the reservation with an @@ -2536,9 +2905,21 @@ type DataCatalogServer interface { // task B may take over the reservation, resulting in two tasks A and B running in parallel. So // a third task C may get the Artifact from A or B, whichever writes last. GetOrExtendReservation(context.Context, *GetOrExtendReservationRequest) (*GetOrExtendReservationResponse, error) + // Attempts to get or extend reservations for multiple artifacts in a single operation. + // The first non-recoverable error encountered will be returned. Note that this might leave some artifacts in a + // reserved state if one acquisition fails - retry the operation or release all attempted artifacts (as the release + // endpoint is idempotent) to ensure no resources are locked accidentally in case of an error. + GetOrExtendReservations(context.Context, *GetOrExtendReservationsRequest) (*GetOrExtendReservationsResponse, error) // Release the reservation when the task holding the spot fails so that the other tasks // can grab the spot. ReleaseReservation(context.Context, *ReleaseReservationRequest) (*ReleaseReservationResponse, error) + // Releases reservations for multiple artifacts in a single operation. + // This endpoint is idempotent, trying to release an unknown reservation or releasing existing reservations multiple + // times will not result in error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts in their previous reserved state, however the operation can simply be retried to remove the remaining + // reservations. + ReleaseReservations(context.Context, *ReleaseReservationsRequest) (*ReleaseReservationResponse, error) } // UnimplementedDataCatalogServer can be embedded to have forward compatible implementations. @@ -2569,12 +2950,24 @@ func (*UnimplementedDataCatalogServer) ListDatasets(ctx context.Context, req *Li func (*UnimplementedDataCatalogServer) UpdateArtifact(ctx context.Context, req *UpdateArtifactRequest) (*UpdateArtifactResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateArtifact not implemented") } +func (*UnimplementedDataCatalogServer) DeleteArtifact(ctx context.Context, req *DeleteArtifactRequest) (*DeleteArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteArtifact not implemented") +} +func (*UnimplementedDataCatalogServer) DeleteArtifacts(ctx context.Context, req *DeleteArtifactsRequest) (*DeleteArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteArtifacts not implemented") +} func (*UnimplementedDataCatalogServer) GetOrExtendReservation(ctx context.Context, req *GetOrExtendReservationRequest) (*GetOrExtendReservationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetOrExtendReservation not implemented") } +func (*UnimplementedDataCatalogServer) GetOrExtendReservations(ctx context.Context, req *GetOrExtendReservationsRequest) (*GetOrExtendReservationsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOrExtendReservations not implemented") +} func (*UnimplementedDataCatalogServer) ReleaseReservation(ctx context.Context, req *ReleaseReservationRequest) (*ReleaseReservationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReleaseReservation not implemented") } +func (*UnimplementedDataCatalogServer) ReleaseReservations(ctx context.Context, req *ReleaseReservationsRequest) (*ReleaseReservationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReleaseReservations not implemented") +} func RegisterDataCatalogServer(s *grpc.Server, srv DataCatalogServer) { s.RegisterService(&_DataCatalog_serviceDesc, srv) @@ -2724,6 +3117,42 @@ func _DataCatalog_UpdateArtifact_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _DataCatalog_DeleteArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteArtifactRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).DeleteArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/datacatalog.DataCatalog/DeleteArtifact", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).DeleteArtifact(ctx, req.(*DeleteArtifactRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCatalog_DeleteArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteArtifactsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).DeleteArtifacts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/datacatalog.DataCatalog/DeleteArtifacts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).DeleteArtifacts(ctx, req.(*DeleteArtifactsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _DataCatalog_GetOrExtendReservation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetOrExtendReservationRequest) if err := dec(in); err != nil { @@ -2742,6 +3171,24 @@ func _DataCatalog_GetOrExtendReservation_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } +func _DataCatalog_GetOrExtendReservations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOrExtendReservationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).GetOrExtendReservations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/datacatalog.DataCatalog/GetOrExtendReservations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).GetOrExtendReservations(ctx, req.(*GetOrExtendReservationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _DataCatalog_ReleaseReservation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ReleaseReservationRequest) if err := dec(in); err != nil { @@ -2760,6 +3207,24 @@ func _DataCatalog_ReleaseReservation_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } +func _DataCatalog_ReleaseReservations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ReleaseReservationsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCatalogServer).ReleaseReservations(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/datacatalog.DataCatalog/ReleaseReservations", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCatalogServer).ReleaseReservations(ctx, req.(*ReleaseReservationsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _DataCatalog_serviceDesc = grpc.ServiceDesc{ ServiceName: "datacatalog.DataCatalog", HandlerType: (*DataCatalogServer)(nil), @@ -2796,14 +3261,30 @@ var _DataCatalog_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateArtifact", Handler: _DataCatalog_UpdateArtifact_Handler, }, + { + MethodName: "DeleteArtifact", + Handler: _DataCatalog_DeleteArtifact_Handler, + }, + { + MethodName: "DeleteArtifacts", + Handler: _DataCatalog_DeleteArtifacts_Handler, + }, { MethodName: "GetOrExtendReservation", Handler: _DataCatalog_GetOrExtendReservation_Handler, }, + { + MethodName: "GetOrExtendReservations", + Handler: _DataCatalog_GetOrExtendReservations_Handler, + }, { MethodName: "ReleaseReservation", Handler: _DataCatalog_ReleaseReservation_Handler, }, + { + MethodName: "ReleaseReservations", + Handler: _DataCatalog_ReleaseReservations_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "flyteidl/datacatalog/datacatalog.proto", diff --git a/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go b/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go index 0f1f5dd9e..ffb0438ab 100644 --- a/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go +++ b/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go @@ -1305,6 +1305,242 @@ var _ interface { ErrorName() string } = UpdateArtifactResponseValidationError{} +// Validate checks the field values on DeleteArtifactRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DeleteArtifactRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DeleteArtifactRequestValidationError{ + field: "Dataset", + reason: "embedded message failed validation", + cause: err, + } + } + } + + switch m.QueryHandle.(type) { + + case *DeleteArtifactRequest_ArtifactId: + // no validation rules for ArtifactId + + case *DeleteArtifactRequest_TagName: + // no validation rules for TagName + + } + + return nil +} + +// DeleteArtifactRequestValidationError is the validation error returned by +// DeleteArtifactRequest.Validate if the designated constraints aren't met. +type DeleteArtifactRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DeleteArtifactRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DeleteArtifactRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DeleteArtifactRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DeleteArtifactRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DeleteArtifactRequestValidationError) ErrorName() string { + return "DeleteArtifactRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e DeleteArtifactRequestValidationError) 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 %sDeleteArtifactRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DeleteArtifactRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DeleteArtifactRequestValidationError{} + +// Validate checks the field values on DeleteArtifactsRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DeleteArtifactsRequest) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetArtifacts() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DeleteArtifactsRequestValidationError{ + field: fmt.Sprintf("Artifacts[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// DeleteArtifactsRequestValidationError is the validation error returned by +// DeleteArtifactsRequest.Validate if the designated constraints aren't met. +type DeleteArtifactsRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DeleteArtifactsRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DeleteArtifactsRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DeleteArtifactsRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DeleteArtifactsRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DeleteArtifactsRequestValidationError) ErrorName() string { + return "DeleteArtifactsRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e DeleteArtifactsRequestValidationError) 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 %sDeleteArtifactsRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DeleteArtifactsRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DeleteArtifactsRequestValidationError{} + +// Validate checks the field values on DeleteArtifactResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DeleteArtifactResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// DeleteArtifactResponseValidationError is the validation error returned by +// DeleteArtifactResponse.Validate if the designated constraints aren't met. +type DeleteArtifactResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DeleteArtifactResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DeleteArtifactResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DeleteArtifactResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DeleteArtifactResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DeleteArtifactResponseValidationError) ErrorName() string { + return "DeleteArtifactResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e DeleteArtifactResponseValidationError) 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 %sDeleteArtifactResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DeleteArtifactResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DeleteArtifactResponseValidationError{} + // Validate checks the field values on ReservationID with the rules defined in // the proto definition for this message. If any rules are violated, an error // is returned. @@ -1472,6 +1708,89 @@ var _ interface { ErrorName() string } = GetOrExtendReservationRequestValidationError{} +// Validate checks the field values on GetOrExtendReservationsRequest with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *GetOrExtendReservationsRequest) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetReservations() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return GetOrExtendReservationsRequestValidationError{ + field: fmt.Sprintf("Reservations[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// GetOrExtendReservationsRequestValidationError is the validation error +// returned by GetOrExtendReservationsRequest.Validate if the designated +// constraints aren't met. +type GetOrExtendReservationsRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e GetOrExtendReservationsRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e GetOrExtendReservationsRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e GetOrExtendReservationsRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e GetOrExtendReservationsRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e GetOrExtendReservationsRequestValidationError) ErrorName() string { + return "GetOrExtendReservationsRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e GetOrExtendReservationsRequestValidationError) 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 %sGetOrExtendReservationsRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = GetOrExtendReservationsRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = GetOrExtendReservationsRequestValidationError{} + // Validate checks the field values on Reservation with the rules defined in // the proto definition for this message. If any rules are violated, an error // is returned. @@ -1657,6 +1976,89 @@ var _ interface { ErrorName() string } = GetOrExtendReservationResponseValidationError{} +// Validate checks the field values on GetOrExtendReservationsResponse with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *GetOrExtendReservationsResponse) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetReservations() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return GetOrExtendReservationsResponseValidationError{ + field: fmt.Sprintf("Reservations[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// GetOrExtendReservationsResponseValidationError is the validation error +// returned by GetOrExtendReservationsResponse.Validate if the designated +// constraints aren't met. +type GetOrExtendReservationsResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e GetOrExtendReservationsResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e GetOrExtendReservationsResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e GetOrExtendReservationsResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e GetOrExtendReservationsResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e GetOrExtendReservationsResponseValidationError) ErrorName() string { + return "GetOrExtendReservationsResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e GetOrExtendReservationsResponseValidationError) 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 %sGetOrExtendReservationsResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = GetOrExtendReservationsResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = GetOrExtendReservationsResponseValidationError{} + // Validate checks the field values on ReleaseReservationRequest with the rules // defined in the proto definition for this message. If any rules are // violated, an error is returned. @@ -1736,6 +2138,88 @@ var _ interface { ErrorName() string } = ReleaseReservationRequestValidationError{} +// Validate checks the field values on ReleaseReservationsRequest with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ReleaseReservationsRequest) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetReservations() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ReleaseReservationsRequestValidationError{ + field: fmt.Sprintf("Reservations[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ReleaseReservationsRequestValidationError is the validation error returned +// by ReleaseReservationsRequest.Validate if the designated constraints aren't met. +type ReleaseReservationsRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ReleaseReservationsRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ReleaseReservationsRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ReleaseReservationsRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ReleaseReservationsRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ReleaseReservationsRequestValidationError) ErrorName() string { + return "ReleaseReservationsRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e ReleaseReservationsRequestValidationError) 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 %sReleaseReservationsRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ReleaseReservationsRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ReleaseReservationsRequestValidationError{} + // Validate checks the field values on ReleaseReservationResponse with the // rules defined in the proto definition for this message. If any rules are // violated, an error is returned. diff --git a/gen/pb-go/flyteidl/service/admin.pb.go b/gen/pb-go/flyteidl/service/admin.pb.go index cf6f18c3d..6b8de7f4c 100644 --- a/gen/pb-go/flyteidl/service/admin.pb.go +++ b/gen/pb-go/flyteidl/service/admin.pb.go @@ -7,7 +7,6 @@ import ( context "context" fmt "fmt" admin "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin" - _ "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -30,7 +29,7 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("flyteidl/service/admin.proto", fileDescriptor_5cfa31da1d67295d) } var fileDescriptor_5cfa31da1d67295d = []byte{ - // 2136 bytes of a gzipped FileDescriptorProto + // 2127 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x9a, 0xdf, 0x6f, 0x1d, 0x47, 0x15, 0xc7, 0x35, 0x36, 0x02, 0x31, 0x4d, 0x62, 0x7b, 0x9a, 0x60, 0x67, 0x63, 0x27, 0xe9, 0xba, 0x8e, 0x7f, 0xdf, 0x75, 0xd3, 0xb4, 0x51, 0x42, 0x7f, 0xb9, 0xb5, 0x73, 0x65, 0x08, 0x49, 0x31, @@ -38,133 +37,132 @@ var fileDescriptor_5cfa31da1d67295d = []byte{ 0xcb, 0xb2, 0xf8, 0xf1, 0x80, 0xa8, 0x90, 0x78, 0xe0, 0x87, 0xa0, 0x10, 0x51, 0x0a, 0x45, 0xfc, 0x2c, 0x2f, 0xa0, 0x22, 0x24, 0x54, 0x09, 0xc1, 0x03, 0x2f, 0xbc, 0xc0, 0x3b, 0x2f, 0xf4, 0x99, 0xbf, 0x01, 0xcd, 0xd9, 0x99, 0xbd, 0x3b, 0xbb, 0x3b, 0xbb, 0xb3, 0x26, 0xe5, 0x89, 0x37, 0xfb, - 0x9e, 0x33, 0x33, 0x9f, 0x73, 0xe6, 0x3b, 0x67, 0x66, 0x67, 0x17, 0x4f, 0xde, 0xed, 0x1c, 0x30, + 0x9e, 0xef, 0xcc, 0x7c, 0xce, 0x99, 0x33, 0x67, 0x66, 0x67, 0x17, 0x4f, 0xde, 0xed, 0x1c, 0x30, 0xea, 0x7b, 0x1d, 0x27, 0xa2, 0xe1, 0xbe, 0xdf, 0xa6, 0x8e, 0xeb, 0x75, 0xfd, 0x5e, 0xa3, 0x1f, 0x06, 0x2c, 0x20, 0xa3, 0xd2, 0xda, 0x10, 0x56, 0x6b, 0x72, 0x27, 0x08, 0x76, 0x3a, 0xd4, 0x71, - 0xfb, 0xbe, 0xe3, 0xf6, 0x7a, 0x01, 0x73, 0x99, 0x1f, 0xf4, 0xa2, 0xd8, 0xdf, 0x1a, 0xf4, 0x06, - 0xbd, 0x38, 0xfd, 0x30, 0xb8, 0x47, 0xdb, 0x4c, 0x58, 0x1b, 0xc5, 0xd6, 0x96, 0x17, 0x74, 0x5d, - 0xbf, 0xd7, 0x72, 0x19, 0x0b, 0xfd, 0xed, 0x3d, 0x46, 0x65, 0x6f, 0xb3, 0x1a, 0xff, 0x9c, 0xe3, - 0xd9, 0x8c, 0x23, 0x73, 0xa3, 0xfb, 0xc2, 0x34, 0x95, 0x31, 0xbd, 0x16, 0x84, 0xf7, 0xef, 0x76, - 0x82, 0xd7, 0x84, 0x79, 0x4e, 0x63, 0xce, 0x8f, 0x71, 0x31, 0xe3, 0xd9, 0x71, 0xf7, 0x7a, 0xed, - 0xdd, 0x56, 0xbf, 0xe3, 0x8a, 0x64, 0x59, 0x56, 0xc6, 0x83, 0xee, 0xd3, 0x9e, 0x0c, 0xfd, 0x7c, - 0xd6, 0xf6, 0x05, 0xda, 0xde, 0xe3, 0x99, 0xd3, 0x84, 0xda, 0x75, 0x59, 0x7b, 0xd7, 0xdd, 0xee, - 0xd0, 0x56, 0x48, 0xa3, 0x60, 0x2f, 0x6c, 0x53, 0xe1, 0x38, 0x9d, 0x71, 0xec, 0x05, 0x1e, 0x6d, - 0x65, 0x7b, 0x9b, 0x2e, 0xc8, 0x47, 0xce, 0x29, 0x3b, 0x57, 0xfb, 0x34, 0x8c, 0x06, 0xd6, 0x73, - 0x19, 0x6b, 0x3b, 0xe8, 0x76, 0xb5, 0xb4, 0x1e, 0x8d, 0xda, 0xa1, 0xdf, 0xe7, 0x9d, 0xb7, 0x68, - 0x8f, 0xf9, 0xec, 0x20, 0x17, 0x76, 0x3b, 0x08, 0xa9, 0xe3, 0x7b, 0xdc, 0x7a, 0xd7, 0xa7, 0x61, - 0x6c, 0xbf, 0xfc, 0xc7, 0x9b, 0xf8, 0xc4, 0x2a, 0xef, 0xe2, 0x33, 0xb1, 0xbc, 0x48, 0x17, 0xe3, - 0x97, 0x42, 0xea, 0x32, 0x7a, 0xc7, 0x8d, 0xee, 0x93, 0xc7, 0x12, 0xc5, 0x34, 0x62, 0x55, 0xf2, - 0x5f, 0x63, 0xfb, 0x26, 0x7d, 0x75, 0x8f, 0x46, 0xcc, 0xb2, 0xcb, 0x5c, 0xa2, 0x7e, 0xd0, 0x8b, - 0xa8, 0x3d, 0xf1, 0x95, 0x7f, 0xbc, 0xff, 0xad, 0x21, 0x62, 0x9f, 0x04, 0xd5, 0xee, 0x3f, 0x01, - 0xf9, 0x88, 0xae, 0xa3, 0x05, 0xf2, 0x35, 0x84, 0x3f, 0xd2, 0xa4, 0x0c, 0x06, 0xbb, 0x98, 0xed, - 0xe9, 0xf6, 0x36, 0x57, 0x5b, 0x93, 0x32, 0x39, 0xd6, 0xe9, 0xa2, 0xb1, 0xec, 0x75, 0xe8, 0xfd, - 0x79, 0xf2, 0xac, 0xd2, 0xbb, 0x73, 0xe8, 0x7b, 0x0d, 0x21, 0xd8, 0x23, 0xf8, 0x27, 0x56, 0x79, - 0xfc, 0x77, 0xcf, 0xed, 0xd2, 0xf8, 0x2f, 0x91, 0xf5, 0x23, 0xf2, 0x5d, 0x84, 0x1f, 0xb9, 0xe9, - 0x47, 0xc0, 0xb2, 0xe1, 0x45, 0x64, 0x25, 0x3b, 0xd8, 0x2d, 0xb7, 0x4b, 0xbd, 0x75, 0xc8, 0xee, - 0x46, 0x92, 0x47, 0xde, 0x42, 0xe2, 0xcd, 0x1b, 0xb7, 0xb0, 0x17, 0x81, 0x79, 0x86, 0x4c, 0xa7, - 0x99, 0x5b, 0xbe, 0x17, 0x39, 0x87, 0x03, 0x66, 0x01, 0x4c, 0x7e, 0x83, 0xf0, 0x47, 0x25, 0x59, - 0x44, 0xa6, 0xb3, 0xa3, 0x6c, 0x0a, 0x81, 0xa6, 0x51, 0x26, 0x8a, 0x32, 0x05, 0x23, 0x6f, 0xc3, - 0xc8, 0x9f, 0x27, 0x2b, 0x75, 0xb3, 0xb5, 0x35, 0x47, 0x2e, 0x99, 0xb5, 0x21, 0x47, 0xf8, 0x54, - 0xac, 0x80, 0xcf, 0x89, 0xd5, 0x4c, 0x66, 0xb2, 0x3c, 0xd2, 0xa2, 0x8a, 0xe9, 0x52, 0x95, 0x9b, - 0x10, 0xd4, 0x24, 0x04, 0xf1, 0x31, 0x7b, 0x4c, 0x02, 0xc9, 0xb2, 0x01, 0xa2, 0xfa, 0x36, 0xc2, - 0x8f, 0x34, 0x29, 0x4b, 0x06, 0xaf, 0x16, 0xd6, 0x84, 0x6e, 0x5c, 0x7b, 0x03, 0x46, 0x7a, 0x89, - 0xac, 0xe6, 0x46, 0xaa, 0x2d, 0xb0, 0x37, 0x11, 0x1e, 0xe1, 0x53, 0x20, 0xfb, 0xfe, 0xc0, 0x45, - 0xe6, 0x00, 0xfb, 0x3c, 0x99, 0xcd, 0xb2, 0xeb, 0x84, 0xf6, 0x1e, 0xc2, 0x27, 0xd3, 0x84, 0x86, - 0x62, 0x9b, 0xd4, 0x65, 0x0f, 0x28, 0xee, 0x01, 0x85, 0x47, 0xae, 0x1c, 0x27, 0x83, 0x5b, 0x4b, - 0x64, 0xc1, 0xbc, 0x1d, 0xf9, 0x2a, 0xc2, 0xa3, 0xb1, 0x54, 0x6e, 0xc2, 0xee, 0xf0, 0x72, 0xc7, - 0xed, 0x91, 0xd9, 0x2c, 0xde, 0xc0, 0xa6, 0xaa, 0x6f, 0xae, 0xda, 0x51, 0xe8, 0xef, 0x02, 0xc4, - 0x74, 0xd6, 0x3e, 0x2d, 0xd9, 0x52, 0x9b, 0x11, 0x48, 0xf0, 0x07, 0x08, 0x9f, 0x6c, 0x52, 0x96, - 0xa2, 0xa8, 0x16, 0xa1, 0xa5, 0x1f, 0xde, 0xbe, 0x09, 0x03, 0xde, 0x20, 0x6b, 0x45, 0x03, 0xd6, - 0x56, 0xe2, 0x8f, 0x11, 0x7e, 0xb4, 0x49, 0xd9, 0x6a, 0x9b, 0xf9, 0xfb, 0xa5, 0x99, 0xca, 0x7a, - 0x98, 0xa0, 0xde, 0x00, 0xd4, 0x17, 0xc8, 0x73, 0x12, 0xd5, 0x85, 0x4e, 0x5a, 0x35, 0x89, 0xc9, - 0x03, 0x84, 0xcf, 0x70, 0x01, 0x65, 0x19, 0x22, 0xb2, 0x58, 0x85, 0x99, 0x16, 0xe7, 0x79, 0x3d, - 0x2a, 0xc8, 0xf3, 0x69, 0xc0, 0x5d, 0x21, 0x8d, 0x52, 0xdc, 0xfc, 0x5a, 0x79, 0x1b, 0xe1, 0x31, - 0xde, 0xc1, 0xa0, 0xbb, 0x0f, 0x7c, 0x3d, 0x5f, 0x06, 0xd4, 0xd4, 0x8a, 0x48, 0x31, 0xea, 0x96, - 0xf4, 0x5f, 0x45, 0xd1, 0x49, 0xe7, 0xcf, 0x68, 0x51, 0x57, 0xe5, 0xad, 0x0f, 0x30, 0xf7, 0xc8, - 0xd5, 0x63, 0x2a, 0x72, 0xcb, 0x21, 0xcb, 0xb5, 0x9a, 0x92, 0x77, 0x11, 0x1e, 0x7d, 0xa5, 0xef, - 0x19, 0x2f, 0xee, 0xd8, 0xd7, 0x60, 0x71, 0x4b, 0x47, 0xb1, 0xb8, 0x6f, 0x43, 0x64, 0x1b, 0xd6, - 0x43, 0x59, 0x6b, 0xbc, 0x18, 0x7c, 0x19, 0xe1, 0x91, 0xb8, 0x80, 0xac, 0xcb, 0x23, 0x20, 0xc9, - 0xed, 0x74, 0x89, 0x49, 0xad, 0x49, 0xb3, 0x95, 0x7e, 0x82, 0x7a, 0x0a, 0xa8, 0xc7, 0x6d, 0x22, - 0xa9, 0x93, 0xe3, 0x26, 0x14, 0xa4, 0x6f, 0x20, 0x3c, 0xb6, 0x49, 0xe3, 0x48, 0x06, 0x14, 0x73, - 0xda, 0xde, 0xa5, 0x6f, 0x6d, 0x8e, 0x4b, 0xc0, 0x71, 0xd1, 0x3e, 0x97, 0xe7, 0x70, 0x42, 0xd1, - 0x29, 0x07, 0xfa, 0x3a, 0xc2, 0xa3, 0x9b, 0xb4, 0x1d, 0xec, 0xd3, 0x70, 0xc0, 0x33, 0x5b, 0xc2, - 0x03, 0xae, 0xb5, 0x71, 0x66, 0x00, 0xe7, 0x82, 0x6d, 0x15, 0xe2, 0x40, 0x9f, 0x9c, 0xe6, 0x3b, - 0x08, 0x9f, 0x68, 0x52, 0x36, 0x20, 0x59, 0xd4, 0xed, 0x69, 0x89, 0x4b, 0xaa, 0x72, 0x9f, 0xd5, - 0xd2, 0xd8, 0xcf, 0xc2, 0xf8, 0x57, 0xc9, 0x53, 0x05, 0xe3, 0x1b, 0x14, 0xc1, 0xb7, 0x11, 0x1e, - 0x89, 0xe5, 0x69, 0x22, 0x1d, 0x55, 0xf1, 0xb3, 0x95, 0x7e, 0x22, 0x47, 0x2f, 0x00, 0xe3, 0x75, - 0xeb, 0x78, 0x8c, 0x3c, 0x7d, 0x7f, 0x40, 0x78, 0x34, 0x9d, 0xbe, 0x35, 0x97, 0xb9, 0xc4, 0x31, - 0x49, 0x21, 0xf7, 0x94, 0xc0, 0x2b, 0xe6, 0x0d, 0x04, 0xf9, 0x8b, 0x40, 0xfe, 0x0c, 0xb9, 0x2e, - 0xc9, 0x3d, 0x97, 0xb9, 0x35, 0x53, 0xfc, 0x3a, 0xc2, 0xa7, 0x78, 0x45, 0x4b, 0x06, 0x31, 0x2c, - 0x90, 0x53, 0xda, 0xf4, 0x42, 0x7d, 0x7c, 0x12, 0xd0, 0x96, 0xc9, 0x62, 0x8d, 0xa4, 0x92, 0x77, - 0x10, 0x26, 0x77, 0x68, 0xd8, 0xf5, 0x7b, 0xca, 0x8c, 0xcf, 0x6b, 0x87, 0x4a, 0x9c, 0x25, 0xd5, - 0x82, 0x89, 0xab, 0x3a, 0xef, 0x0b, 0xc7, 0x9f, 0xf7, 0xbf, 0xc7, 0xf3, 0x7e, 0x2b, 0xf0, 0x68, - 0xc9, 0x22, 0x56, 0xcc, 0xa9, 0x65, 0x33, 0x55, 0xea, 0x68, 0xef, 0x03, 0x5e, 0x9f, 0xf4, 0x24, - 0x9e, 0xfa, 0xa8, 0x1d, 0x33, 0x26, 0xff, 0xb6, 0xb2, 0xc0, 0x8a, 0x25, 0x4d, 0xaf, 0x18, 0x06, - 0x15, 0x1b, 0x7a, 0xf7, 0xbd, 0x23, 0xf2, 0x4f, 0x84, 0x09, 0x9f, 0x42, 0x85, 0x26, 0xca, 0xd7, - 0x4a, 0xc5, 0x9e, 0x56, 0xc6, 0x63, 0x95, 0x9e, 0xf6, 0x21, 0xc4, 0xb6, 0x47, 0x22, 0x6d, 0x6c, - 0xc9, 0x59, 0x5d, 0x13, 0x61, 0xb1, 0x3d, 0x89, 0xb3, 0xd8, 0x1c, 0x2b, 0xfe, 0xa7, 0x1f, 0xc2, - 0x67, 0xf3, 0x01, 0xde, 0x08, 0x42, 0x78, 0x0c, 0x77, 0x4a, 0xe9, 0x85, 0x57, 0xcd, 0x70, 0x7f, - 0x3b, 0x0c, 0xf1, 0xfe, 0x7a, 0x98, 0xfc, 0x62, 0x58, 0x46, 0xdc, 0xde, 0xf5, 0x3b, 0x5e, 0x48, - 0xb3, 0x97, 0x23, 0x91, 0x73, 0xa8, 0xfe, 0xd0, 0x92, 0x73, 0xa3, 0xfc, 0xa2, 0xc9, 0x4a, 0xed, - 0xa6, 0x49, 0xc2, 0x6a, 0xb7, 0x14, 0xca, 0x31, 0x69, 0x27, 0xa5, 0x55, 0xe4, 0x2d, 0x1e, 0xfc, - 0x4b, 0x63, 0x90, 0x3e, 0x25, 0xb0, 0xd2, 0x45, 0x4b, 0x25, 0x1d, 0xe4, 0xc1, 0xa4, 0xc8, 0x27, - 0xa4, 0x2c, 0x3c, 0x68, 0xb9, 0x8c, 0xd1, 0x6e, 0x9f, 0x1d, 0x91, 0x7f, 0x23, 0x7c, 0x3a, 0xbb, - 0xba, 0xa1, 0xb2, 0x2f, 0x56, 0xad, 0xf0, 0x74, 0x55, 0x5f, 0x32, 0x73, 0x16, 0x35, 0x29, 0xb7, - 0x30, 0xa0, 0xa2, 0xff, 0x8f, 0x56, 0xfe, 0x17, 0xf1, 0xc8, 0x26, 0xdd, 0xf1, 0x23, 0x46, 0xc3, - 0x97, 0xe3, 0x0e, 0xf3, 0x9b, 0xad, 0x30, 0x48, 0x3f, 0xed, 0x66, 0x9b, 0xf3, 0x13, 0x01, 0x9e, - 0x83, 0x00, 0xcf, 0xd8, 0xa3, 0x32, 0x40, 0x81, 0x0e, 0xa7, 0xb4, 0x57, 0xf1, 0xc9, 0x78, 0x6f, - 0x96, 0xc3, 0x8f, 0x6b, 0xba, 0xb5, 0x66, 0x34, 0x86, 0xcc, 0xd6, 0x7e, 0x11, 0x46, 0xb3, 0xac, - 0x33, 0xd9, 0xd1, 0x78, 0xe0, 0x50, 0xc2, 0xef, 0xe2, 0x13, 0x7c, 0x89, 0x8a, 0xe6, 0x11, 0xb1, - 0x35, 0x1d, 0x97, 0xde, 0x2e, 0xc9, 0xd6, 0xf2, 0xa6, 0x8f, 0xe4, 0xa2, 0x23, 0x6f, 0x20, 0xfc, - 0xa8, 0x7a, 0x29, 0xb4, 0xbe, 0x4f, 0x7b, 0x8c, 0x2c, 0x57, 0x6e, 0xfa, 0xe0, 0x27, 0x87, 0x6e, - 0x98, 0xba, 0x8b, 0x04, 0x4c, 0x03, 0xd0, 0x94, 0x3d, 0x91, 0xec, 0x71, 0xdc, 0x1c, 0xa9, 0x17, - 0x46, 0xaf, 0x27, 0x07, 0x74, 0xd0, 0x26, 0x70, 0xcd, 0x97, 0xca, 0x56, 0x61, 0x5a, 0x30, 0x71, - 0xd5, 0xdd, 0x1c, 0x08, 0x1e, 0xae, 0xc1, 0x0c, 0x0b, 0xaf, 0xb3, 0x1a, 0x16, 0x30, 0x99, 0xb1, - 0x14, 0xb9, 0x56, 0xb0, 0x24, 0xb7, 0xb3, 0x5f, 0x1a, 0x86, 0xed, 0x5d, 0xe9, 0x22, 0xbf, 0xbd, - 0x2b, 0xe6, 0xb2, 0xed, 0x5d, 0x71, 0xb4, 0x7f, 0x32, 0x04, 0xc3, 0x3f, 0x18, 0x22, 0x6f, 0x0c, - 0x29, 0xb7, 0xa0, 0x99, 0x75, 0x6e, 0x5c, 0xfb, 0x6b, 0x14, 0x7b, 0xe3, 0xea, 0x5e, 0x51, 0xce, - 0x0b, 0xeb, 0x77, 0x51, 0xc1, 0xce, 0x57, 0xe8, 0xc2, 0x92, 0x9c, 0xaf, 0xc1, 0xdf, 0x1b, 0x8a, - 0x0f, 0x23, 0x4a, 0xee, 0x0a, 0x0e, 0x23, 0x8a, 0xbd, 0x74, 0x77, 0xce, 0x79, 0xda, 0xbf, 0x43, - 0x30, 0x13, 0xef, 0x20, 0xf2, 0x4b, 0xa4, 0x9d, 0x09, 0xe3, 0x69, 0x30, 0x9d, 0x03, 0xb3, 0x09, - 0xd0, 0x67, 0x9f, 0x3c, 0x18, 0x86, 0xed, 0x49, 0x89, 0xa7, 0x78, 0x7b, 0xca, 0x2a, 0xb4, 0x74, - 0x7b, 0x2a, 0x76, 0x16, 0x4b, 0xe6, 0xe7, 0xb1, 0x68, 0xdf, 0x1a, 0x22, 0x3f, 0x1c, 0x52, 0x76, - 0xa8, 0xff, 0x2b, 0x37, 0xab, 0xdc, 0x7f, 0x21, 0x3c, 0xa5, 0x6c, 0x66, 0x6b, 0xd0, 0xe5, 0x6a, - 0xf2, 0x5e, 0x8f, 0x5c, 0xd1, 0x6c, 0x23, 0x59, 0x47, 0xf5, 0xb1, 0xf6, 0xa9, 0x9a, 0xad, 0xc4, - 0xcc, 0xbd, 0x02, 0x13, 0x77, 0xdb, 0xfa, 0x44, 0x66, 0x67, 0xca, 0xbf, 0xfc, 0x74, 0x0e, 0xd5, - 0x77, 0x8f, 0x22, 0x39, 0xa9, 0x1f, 0x45, 0x72, 0x78, 0x89, 0xfc, 0x13, 0xc2, 0x56, 0x93, 0x32, - 0x5d, 0x88, 0x4f, 0x18, 0xc2, 0xa6, 0xca, 0xe6, 0xe5, 0x3a, 0x4d, 0x44, 0x70, 0xcf, 0x40, 0x70, - 0x4f, 0x0f, 0xee, 0xd8, 0x4b, 0x82, 0xcb, 0xdf, 0x11, 0xfe, 0x0d, 0xe1, 0xa9, 0x35, 0xda, 0xa1, - 0xff, 0xfd, 0x4c, 0xc5, 0xbd, 0xd4, 0x9d, 0x29, 0xd9, 0x4a, 0x04, 0xf3, 0x3c, 0x04, 0x73, 0x6d, - 0xe1, 0x58, 0xc1, 0xf0, 0x39, 0x79, 0x17, 0xe1, 0x71, 0x45, 0x79, 0xa9, 0x48, 0x1a, 0x1a, 0x26, - 0x9d, 0xda, 0x1c, 0x63, 0x7f, 0x41, 0x7f, 0x1d, 0xe8, 0xaf, 0x58, 0x4e, 0x96, 0xbe, 0x42, 0x60, - 0x1c, 0xfc, 0xcd, 0xf8, 0xc0, 0x9d, 0xa7, 0x5e, 0xac, 0xa4, 0x48, 0x09, 0x68, 0xc9, 0xcc, 0x59, - 0xf0, 0x2e, 0x01, 0xef, 0x25, 0xf2, 0x78, 0x19, 0xaf, 0x84, 0x24, 0xbf, 0x42, 0x78, 0x5c, 0x91, - 0x4a, 0xad, 0xd4, 0xaa, 0xf2, 0x70, 0x8c, 0xfd, 0x05, 0xaa, 0x78, 0x9f, 0xb5, 0x60, 0x84, 0xca, - 0xf3, 0xf9, 0x3e, 0xc2, 0x13, 0xf1, 0xf4, 0xc8, 0x53, 0x62, 0x0a, 0x57, 0x7b, 0x3d, 0xa5, 0x93, - 0xc2, 0x8a, 0x79, 0x03, 0x01, 0x4c, 0x01, 0xb8, 0x65, 0x6d, 0xe5, 0x5e, 0xc0, 0x1d, 0xa3, 0xda, - 0x28, 0xbf, 0xc9, 0x8e, 0x20, 0xcc, 0xdf, 0x23, 0x7c, 0x26, 0xf5, 0xbe, 0x33, 0x15, 0xe3, 0x52, - 0x35, 0x72, 0x4a, 0x38, 0xcb, 0x86, 0xde, 0x22, 0xba, 0x55, 0x88, 0xee, 0xe3, 0xe4, 0x5a, 0x69, - 0x74, 0xb9, 0x15, 0x3a, 0xb8, 0x9b, 0x38, 0x22, 0x7f, 0x46, 0x78, 0x22, 0x9e, 0xe4, 0xe3, 0x4d, - 0x90, 0x2a, 0xa8, 0x15, 0xf3, 0x06, 0x22, 0x84, 0x35, 0x08, 0xe1, 0xb9, 0x85, 0xe3, 0x87, 0xc0, - 0xf3, 0xff, 0x23, 0x84, 0xc7, 0xf9, 0x41, 0xea, 0x53, 0xf2, 0x9b, 0x91, 0xb2, 0x45, 0xa1, 0x71, - 0xd4, 0x2e, 0x0a, 0xad, 0xbf, 0x08, 0xe1, 0x71, 0x08, 0xe1, 0x3c, 0x99, 0x94, 0x21, 0x0c, 0xbe, - 0x5c, 0x19, 0xc4, 0xc0, 0x2b, 0x0b, 0xbc, 0xad, 0x1a, 0xbc, 0x5c, 0xf2, 0x69, 0x94, 0x7f, 0xb8, - 0x4d, 0xbd, 0x7b, 0x4a, 0x9f, 0x21, 0x2f, 0x54, 0xf8, 0xe5, 0xa5, 0xc0, 0x8f, 0x0a, 0x5e, 0xfc, - 0x29, 0x8a, 0xcf, 0x53, 0x28, 0x3f, 0xa2, 0x69, 0xb1, 0x83, 0x3e, 0x3f, 0x43, 0xe4, 0x37, 0xa1, - 0x9f, 0x21, 0x7c, 0xaa, 0x49, 0x53, 0x80, 0x07, 0xf9, 0x8f, 0x06, 0x52, 0xc6, 0x94, 0x6c, 0xcf, - 0x95, 0xb8, 0xd9, 0x9f, 0x06, 0xb2, 0x4f, 0x92, 0x0d, 0x53, 0xb2, 0xea, 0x0b, 0xe3, 0xf7, 0x10, - 0x1e, 0x8b, 0x17, 0x7a, 0x1a, 0x76, 0xae, 0x84, 0x42, 0xad, 0x23, 0xf3, 0x06, 0x9e, 0x62, 0x72, - 0xef, 0x00, 0xfd, 0x2d, 0xeb, 0xe1, 0xd1, 0x73, 0xbd, 0x76, 0x30, 0x6e, 0x52, 0xf6, 0xd9, 0xf8, - 0xec, 0x96, 0xff, 0xc6, 0x67, 0x60, 0xd3, 0x7e, 0xe3, 0x93, 0x76, 0x11, 0xa8, 0xe3, 0x80, 0x3a, - 0x46, 0x46, 0x24, 0xaa, 0x38, 0x1b, 0x92, 0xbf, 0xc4, 0x9b, 0xda, 0xda, 0xe0, 0x13, 0x25, 0x91, - 0xb1, 0xea, 0x37, 0xe2, 0x39, 0xb4, 0x5c, 0x27, 0xf6, 0x0e, 0x0c, 0xeb, 0x92, 0x56, 0x72, 0x1a, - 0xcf, 0x7e, 0x0a, 0x05, 0x79, 0x82, 0xe3, 0x69, 0xcd, 0x54, 0xa9, 0xef, 0xcc, 0xbf, 0x39, 0x14, - 0x2f, 0xf2, 0x2c, 0x82, 0x5f, 0x54, 0x66, 0x73, 0x9c, 0xe9, 0xd5, 0x34, 0x63, 0xe4, 0x6d, 0xbf, - 0x15, 0x3f, 0x95, 0x7d, 0x1f, 0x91, 0xdb, 0xe5, 0xb1, 0xd5, 0x0e, 0x6c, 0xab, 0x49, 0xd6, 0x1f, - 0x4a, 0x97, 0x2f, 0x5e, 0xdb, 0xba, 0xba, 0xe3, 0xb3, 0xdd, 0xbd, 0xed, 0x46, 0x3b, 0xe8, 0x3a, - 0x10, 0x56, 0x10, 0xee, 0x38, 0xc9, 0x47, 0x67, 0x3b, 0xb4, 0xe7, 0xf4, 0xb7, 0x97, 0x77, 0x02, - 0x27, 0xfb, 0x95, 0xe3, 0xf6, 0x87, 0xe1, 0x03, 0xb4, 0x27, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, - 0x20, 0x80, 0x65, 0x97, 0x00, 0x29, 0x00, 0x00, + 0xfb, 0xbe, 0xe3, 0xf6, 0x7a, 0x01, 0x73, 0x99, 0x1f, 0xf4, 0xa2, 0x58, 0x6f, 0x0d, 0x7a, 0x83, + 0x5e, 0x9c, 0x7e, 0x18, 0xdc, 0xa3, 0x6d, 0x26, 0xac, 0x8d, 0x62, 0x6b, 0xcb, 0x0b, 0xba, 0xae, + 0xdf, 0x6b, 0xb9, 0x8c, 0x85, 0xfe, 0xf6, 0x1e, 0xa3, 0xb2, 0xb7, 0x59, 0x8d, 0x3e, 0x27, 0x3c, + 0x9b, 0x11, 0x32, 0x37, 0xba, 0x2f, 0x4c, 0x53, 0x19, 0xd3, 0x6b, 0x41, 0x78, 0xff, 0x6e, 0x27, + 0x78, 0x4d, 0x98, 0xe7, 0x34, 0xe6, 0xfc, 0x18, 0x17, 0x33, 0xca, 0x8e, 0xbb, 0xd7, 0x6b, 0xef, + 0xb6, 0xfa, 0x1d, 0x57, 0x04, 0xcb, 0xb2, 0x32, 0x0a, 0xba, 0x4f, 0x7b, 0xd2, 0xf5, 0xf3, 0x59, + 0xdb, 0x17, 0x68, 0x7b, 0x8f, 0x47, 0x4e, 0xe3, 0x6a, 0xd7, 0x65, 0xed, 0x5d, 0x77, 0xbb, 0x43, + 0x5b, 0x21, 0x8d, 0x82, 0xbd, 0xb0, 0x4d, 0x85, 0x70, 0x3a, 0x23, 0xec, 0x05, 0x1e, 0x6d, 0x65, + 0x7b, 0x9b, 0x2e, 0x88, 0x47, 0x4e, 0x94, 0x9d, 0xab, 0x7d, 0x1a, 0x46, 0x03, 0xeb, 0xb9, 0x8c, + 0xb5, 0x1d, 0x74, 0xbb, 0x5a, 0x5a, 0x8f, 0x46, 0xed, 0xd0, 0xef, 0xf3, 0xce, 0x5b, 0xb4, 0xc7, + 0x7c, 0x76, 0x10, 0x0b, 0x2f, 0xff, 0xf1, 0x26, 0x3e, 0xb1, 0xca, 0x25, 0x9f, 0x89, 0xd3, 0x87, + 0x74, 0x31, 0x7e, 0x29, 0xa4, 0x2e, 0xa3, 0x77, 0xdc, 0xe8, 0x3e, 0x79, 0x2c, 0xc9, 0x88, 0x46, + 0x9c, 0x75, 0xfc, 0xd7, 0xd8, 0xbe, 0x49, 0x5f, 0xdd, 0xa3, 0x11, 0xb3, 0xec, 0x32, 0x49, 0xd4, + 0x0f, 0x7a, 0x11, 0xb5, 0x27, 0xbe, 0xf2, 0x8f, 0xf7, 0xbf, 0x35, 0x44, 0xec, 0x93, 0x90, 0x95, + 0xfb, 0x4f, 0x80, 0xbf, 0xd1, 0x75, 0xb4, 0x40, 0xbe, 0x86, 0xf0, 0x47, 0x9a, 0x94, 0xc1, 0x60, + 0x17, 0xb3, 0x3d, 0xdd, 0xde, 0xe6, 0xd9, 0xd4, 0xa4, 0x4c, 0x8e, 0x75, 0xba, 0x68, 0x2c, 0x7b, + 0x1d, 0x7a, 0x7f, 0x9e, 0x3c, 0xab, 0xf4, 0xee, 0x1c, 0xfa, 0x5e, 0x43, 0x24, 0xe4, 0x11, 0xfc, + 0x13, 0x67, 0x71, 0xfc, 0x77, 0xcf, 0xed, 0xd2, 0xf8, 0x2f, 0x11, 0xd5, 0x23, 0xf2, 0x5d, 0x84, + 0x1f, 0xb9, 0xe9, 0x47, 0xc0, 0xb2, 0xe1, 0x45, 0x64, 0x25, 0x3b, 0xd8, 0x2d, 0xb7, 0x4b, 0xbd, + 0x75, 0x88, 0xde, 0x86, 0xc7, 0xa3, 0x78, 0xd7, 0xa7, 0x21, 0x6f, 0x21, 0xf1, 0xe6, 0x8d, 0x5b, + 0xd8, 0x8b, 0xc0, 0x3c, 0x43, 0xa6, 0xd3, 0xcc, 0x2d, 0xdf, 0x8b, 0x9c, 0xc3, 0x01, 0xb3, 0x00, + 0x26, 0xbf, 0x41, 0xf8, 0xa3, 0x92, 0x2c, 0x22, 0xd3, 0xd9, 0x51, 0x36, 0x45, 0x02, 0xa6, 0x51, + 0x26, 0x8a, 0x22, 0x05, 0x23, 0x6f, 0xc3, 0xc8, 0x9f, 0x27, 0x2b, 0x75, 0xa3, 0xb5, 0x35, 0x47, + 0x2e, 0x99, 0xb5, 0x21, 0x47, 0xf8, 0x54, 0x9c, 0x01, 0x9f, 0x13, 0xab, 0x95, 0xcc, 0x64, 0x79, + 0xa4, 0x45, 0x4d, 0xa6, 0x4b, 0x55, 0x32, 0x91, 0x50, 0x93, 0xe0, 0xc4, 0xc7, 0xec, 0x31, 0x09, + 0x24, 0xcb, 0x02, 0x24, 0xd5, 0xb7, 0x11, 0x7e, 0xa4, 0x49, 0x59, 0x32, 0x78, 0x75, 0x62, 0x4d, + 0xe8, 0xc6, 0xb5, 0x37, 0x60, 0xa4, 0x97, 0xc8, 0x6a, 0x6e, 0xa4, 0xda, 0x09, 0xf6, 0x26, 0xc2, + 0x23, 0x7c, 0x0a, 0x64, 0xdf, 0x1f, 0x78, 0x92, 0x39, 0xc0, 0x3e, 0x4f, 0x66, 0xb3, 0xec, 0xba, + 0x44, 0x7b, 0x0f, 0xe1, 0x93, 0x69, 0x42, 0xc3, 0x64, 0x9b, 0xd4, 0x45, 0x0f, 0x28, 0xee, 0x01, + 0x85, 0x47, 0xae, 0x1c, 0x27, 0x82, 0x5b, 0x4b, 0x64, 0xc1, 0xbc, 0x1d, 0xf9, 0x2a, 0xc2, 0xa3, + 0x71, 0xaa, 0xdc, 0x84, 0xea, 0xff, 0x72, 0xc7, 0xed, 0x91, 0xd9, 0x2c, 0xde, 0xc0, 0xa6, 0x66, + 0xdf, 0x5c, 0xb5, 0x50, 0xe4, 0xdf, 0x05, 0xf0, 0xe9, 0xac, 0x7d, 0x5a, 0xb2, 0xa5, 0x36, 0x1b, + 0x48, 0xc1, 0x1f, 0x20, 0x7c, 0xb2, 0x49, 0x59, 0x8a, 0xa2, 0x3a, 0x09, 0x2d, 0xfd, 0xf0, 0xf6, + 0x4d, 0x18, 0xf0, 0x06, 0x59, 0x2b, 0x1a, 0xb0, 0x76, 0x26, 0xfe, 0x18, 0xe1, 0x47, 0x9b, 0x94, + 0xad, 0xb6, 0x99, 0xbf, 0x5f, 0x1a, 0xa9, 0xac, 0xc2, 0x04, 0xf5, 0x06, 0xa0, 0xbe, 0x40, 0x9e, + 0x93, 0xa8, 0x2e, 0x74, 0xd2, 0xaa, 0x49, 0x4c, 0x1e, 0x20, 0x7c, 0x86, 0x27, 0x50, 0x96, 0x21, + 0x22, 0x8b, 0x55, 0x98, 0xe9, 0xe4, 0x3c, 0xaf, 0x47, 0x85, 0xf4, 0x7c, 0x1a, 0x70, 0x57, 0x48, + 0xa3, 0x14, 0x37, 0xbf, 0x56, 0xde, 0x46, 0x78, 0x8c, 0x77, 0x30, 0xe8, 0xee, 0x03, 0x5f, 0xcf, + 0x97, 0x01, 0x35, 0xb5, 0x22, 0x52, 0x8c, 0xba, 0x25, 0xfd, 0x57, 0x51, 0x74, 0xd2, 0xf1, 0x33, + 0x5a, 0xd4, 0x55, 0x71, 0xeb, 0x03, 0xcc, 0x3d, 0x72, 0xf5, 0x98, 0x19, 0xb9, 0xe5, 0x90, 0xe5, + 0x5a, 0x4d, 0xc9, 0xbb, 0x08, 0x8f, 0xbe, 0xd2, 0xf7, 0x8c, 0x17, 0x77, 0xac, 0x35, 0x58, 0xdc, + 0x52, 0x28, 0x16, 0xf7, 0x6d, 0xf0, 0x6c, 0xc3, 0x7a, 0x28, 0x6b, 0x8d, 0x17, 0x83, 0x2f, 0x23, + 0x3c, 0x12, 0x17, 0x90, 0x75, 0x79, 0xc4, 0x23, 0xb9, 0x9d, 0x2e, 0x31, 0xa9, 0x35, 0x69, 0xb6, + 0x52, 0x27, 0xa8, 0xa7, 0x80, 0x7a, 0xdc, 0x26, 0x92, 0x3a, 0x39, 0x4e, 0x42, 0x41, 0xfa, 0x06, + 0xc2, 0x63, 0x9b, 0x34, 0xf6, 0x64, 0x40, 0x31, 0xa7, 0xed, 0x5d, 0x6a, 0x6b, 0x73, 0x5c, 0x02, + 0x8e, 0x8b, 0xf6, 0xb9, 0x3c, 0x87, 0x13, 0x8a, 0x4e, 0x39, 0xd0, 0xd7, 0x11, 0x1e, 0xdd, 0xa4, + 0xed, 0x60, 0x9f, 0x86, 0x03, 0x9e, 0xd9, 0x12, 0x1e, 0x90, 0xd6, 0xc6, 0x99, 0x01, 0x9c, 0x0b, + 0xb6, 0x55, 0x88, 0x03, 0x7d, 0x72, 0x9a, 0xef, 0x20, 0x7c, 0xa2, 0x49, 0xd9, 0x80, 0x64, 0x51, + 0xb7, 0xa7, 0x25, 0x92, 0x54, 0xe5, 0x3e, 0xab, 0xa5, 0xb1, 0x9f, 0x85, 0xf1, 0xaf, 0x92, 0xa7, + 0x0a, 0xc6, 0x37, 0x28, 0x82, 0x6f, 0x23, 0x3c, 0x12, 0xa7, 0xa7, 0x49, 0xea, 0xa8, 0x19, 0x3f, + 0x5b, 0xa9, 0x13, 0x31, 0x7a, 0x01, 0x18, 0xaf, 0x5b, 0xc7, 0x63, 0xe4, 0xe1, 0xfb, 0x03, 0xc2, + 0xa3, 0xe9, 0xf0, 0xad, 0xb9, 0xcc, 0x25, 0x8e, 0x49, 0x08, 0xb9, 0x52, 0x02, 0xaf, 0x98, 0x37, + 0x10, 0xe4, 0x2f, 0x02, 0xf9, 0x33, 0xe4, 0xba, 0x24, 0xf7, 0x5c, 0xe6, 0xd6, 0x0c, 0xf1, 0xeb, + 0x08, 0x9f, 0xe2, 0x15, 0x2d, 0x19, 0xc4, 0xb0, 0x40, 0x4e, 0x69, 0xc3, 0x0b, 0xf5, 0xf1, 0x49, + 0x40, 0x5b, 0x26, 0x8b, 0x35, 0x82, 0x4a, 0xde, 0x41, 0x98, 0xdc, 0xa1, 0x61, 0xd7, 0xef, 0x29, + 0x33, 0x3e, 0xaf, 0x1d, 0x2a, 0x11, 0x4b, 0xaa, 0x05, 0x13, 0xa9, 0x3a, 0xef, 0x0b, 0xc7, 0x9f, + 0xf7, 0xbf, 0xc7, 0xf3, 0x7e, 0x2b, 0xf0, 0x68, 0xc9, 0x22, 0x56, 0xcc, 0xa9, 0x65, 0x33, 0x55, + 0x2a, 0xb4, 0xf7, 0x01, 0xaf, 0x4f, 0x7a, 0x12, 0x4f, 0x7d, 0x94, 0x8e, 0x19, 0x93, 0x7f, 0x5b, + 0x59, 0x60, 0xc5, 0x92, 0xa6, 0x57, 0x0c, 0x83, 0x8a, 0x0d, 0xbd, 0xfb, 0xde, 0x11, 0xf9, 0x27, + 0xc2, 0x84, 0x4f, 0xa1, 0x42, 0x13, 0xe5, 0x6b, 0xa5, 0x62, 0x4f, 0x67, 0xc6, 0x63, 0x95, 0x4a, + 0xfb, 0x10, 0x7c, 0xdb, 0x23, 0x91, 0xd6, 0xb7, 0xe4, 0xac, 0xae, 0xf1, 0xb0, 0xd8, 0x9e, 0xf8, + 0x59, 0x6c, 0x8e, 0x33, 0xfe, 0xa7, 0x1f, 0xc2, 0x67, 0xf3, 0x0e, 0xde, 0x08, 0x42, 0x78, 0x0c, + 0x77, 0x4a, 0xe9, 0x85, 0xaa, 0xa6, 0xbb, 0xbf, 0x1d, 0x06, 0x7f, 0x7f, 0x3d, 0x4c, 0x7e, 0x31, + 0x2c, 0x3d, 0x6e, 0xef, 0xfa, 0x1d, 0x2f, 0xa4, 0xd9, 0xcb, 0x8f, 0xc8, 0x39, 0x54, 0x7f, 0x68, + 0xc9, 0xb9, 0x51, 0x7e, 0xd1, 0x44, 0xa5, 0x76, 0xd3, 0x24, 0x60, 0xb5, 0x5b, 0x8a, 0xcc, 0x31, + 0x69, 0x27, 0x53, 0xab, 0x48, 0x2d, 0x1e, 0xfc, 0x4b, 0x7d, 0x90, 0x9a, 0x12, 0x58, 0x29, 0xd1, + 0x52, 0x49, 0x81, 0x3c, 0x98, 0x14, 0x69, 0x42, 0xca, 0xc2, 0x83, 0x96, 0xcb, 0x18, 0xed, 0xf6, + 0xd9, 0x11, 0xf9, 0x37, 0xc2, 0xa7, 0xb3, 0xab, 0x1b, 0x2a, 0xfb, 0x62, 0xd5, 0x0a, 0x4f, 0x57, + 0xf5, 0x25, 0x33, 0xb1, 0xa8, 0x49, 0xb9, 0x85, 0x01, 0x15, 0xfd, 0x7f, 0xb4, 0xf2, 0xbf, 0x88, + 0x47, 0x36, 0xe9, 0x8e, 0x1f, 0x31, 0x1a, 0xbe, 0x1c, 0x77, 0x98, 0xdf, 0x6c, 0x85, 0x41, 0xea, + 0xb4, 0x9b, 0x6d, 0x4e, 0x27, 0x1c, 0x3c, 0x07, 0x0e, 0x9e, 0xb1, 0x47, 0xa5, 0x83, 0x02, 0x1d, + 0x4e, 0x69, 0xaf, 0xe2, 0x93, 0xf1, 0xde, 0x2c, 0x87, 0x1f, 0xd7, 0x74, 0x6b, 0xcd, 0x68, 0x0c, + 0x99, 0xad, 0xfd, 0x22, 0x8c, 0x66, 0x59, 0x67, 0xb2, 0xa3, 0x71, 0xc7, 0xa1, 0x84, 0xdf, 0xc5, + 0x27, 0xf8, 0x12, 0x15, 0xcd, 0x23, 0x62, 0x6b, 0x3a, 0x2e, 0xbd, 0x5d, 0x92, 0xad, 0xe5, 0x4d, + 0x1f, 0xc9, 0x79, 0x47, 0xde, 0x40, 0xf8, 0x51, 0xf5, 0x52, 0x68, 0x7d, 0x9f, 0xf6, 0x18, 0x59, + 0xae, 0xdc, 0xf4, 0x41, 0x27, 0x87, 0x6e, 0x98, 0xca, 0x45, 0x00, 0xa6, 0x01, 0x68, 0xca, 0x9e, + 0x48, 0xf6, 0x38, 0x6e, 0x8e, 0xd4, 0x0b, 0xa3, 0xd7, 0x93, 0x03, 0x3a, 0xe4, 0x26, 0x70, 0xcd, + 0x97, 0xa6, 0xad, 0xc2, 0xb4, 0x60, 0x22, 0xd5, 0xdd, 0x1c, 0x08, 0x1e, 0x9e, 0x83, 0x19, 0x16, + 0x5e, 0x67, 0x35, 0x2c, 0x60, 0x32, 0x63, 0x29, 0x92, 0x56, 0xb0, 0x24, 0xb7, 0xb3, 0x5f, 0x1a, + 0x86, 0xed, 0x5d, 0xe9, 0x22, 0xbf, 0xbd, 0x2b, 0xe6, 0xb2, 0xed, 0x5d, 0x11, 0xda, 0x3f, 0x19, + 0x82, 0xe1, 0x1f, 0x0c, 0x91, 0x37, 0x86, 0x94, 0x5b, 0xd0, 0xcc, 0x3a, 0x37, 0xae, 0xfd, 0x35, + 0x8a, 0xbd, 0x71, 0x75, 0xaf, 0x28, 0xe7, 0x85, 0xf5, 0xbb, 0xa8, 0x60, 0xe7, 0x2b, 0x74, 0x61, + 0x49, 0xce, 0xd7, 0xe0, 0xef, 0x0d, 0xc5, 0x87, 0x11, 0x25, 0x76, 0x05, 0x87, 0x11, 0xc5, 0x5e, + 0xba, 0x3b, 0xe7, 0x94, 0xf6, 0xef, 0x10, 0xcc, 0xc4, 0x3b, 0x88, 0xfc, 0x12, 0x69, 0x67, 0xc2, + 0x78, 0x1a, 0x4c, 0xe7, 0xc0, 0x6c, 0x02, 0xf4, 0xd1, 0x27, 0x0f, 0x86, 0x61, 0x7b, 0x52, 0xfc, + 0x29, 0xde, 0x9e, 0xb2, 0x19, 0x5a, 0xba, 0x3d, 0x15, 0x8b, 0xc5, 0x92, 0xf9, 0x79, 0x9c, 0xb4, + 0x6f, 0x0d, 0x91, 0x1f, 0x0e, 0x29, 0x3b, 0xd4, 0xff, 0x33, 0x37, 0x9b, 0xb9, 0xff, 0x42, 0x78, + 0x4a, 0xd9, 0xcc, 0xd6, 0xa0, 0xcb, 0xd5, 0xe4, 0xbd, 0x1d, 0xb9, 0xa2, 0xd9, 0x46, 0xb2, 0x42, + 0xf5, 0xb1, 0xf6, 0xa9, 0x9a, 0xad, 0xc4, 0xcc, 0xbd, 0x02, 0x13, 0x77, 0xdb, 0xfa, 0x44, 0x66, + 0x67, 0xca, 0xbf, 0xdc, 0x74, 0x0e, 0xd5, 0x77, 0x8b, 0x22, 0x38, 0xa9, 0x1f, 0x45, 0x70, 0x78, + 0x89, 0xfc, 0x13, 0xc2, 0x56, 0x93, 0x32, 0x9d, 0x8b, 0x4f, 0x18, 0xc2, 0xa6, 0xca, 0xe6, 0xe5, + 0x3a, 0x4d, 0x84, 0x73, 0xcf, 0x80, 0x73, 0x4f, 0x0f, 0xee, 0xd8, 0x4b, 0x9c, 0xcb, 0xdf, 0x11, + 0xfe, 0x0d, 0xe1, 0xa9, 0x35, 0xda, 0xa1, 0xff, 0xfd, 0x4c, 0xc5, 0xbd, 0xd4, 0x9d, 0x29, 0xd9, + 0x4a, 0x38, 0xf3, 0x3c, 0x38, 0x73, 0x6d, 0xe1, 0x58, 0xce, 0xf0, 0x39, 0x79, 0x17, 0xe1, 0x71, + 0x25, 0xf3, 0x52, 0x9e, 0x34, 0x34, 0x4c, 0xba, 0x6c, 0x73, 0x8c, 0xf5, 0x82, 0xfe, 0x3a, 0xd0, + 0x5f, 0xb1, 0x9c, 0x2c, 0x7d, 0x45, 0x82, 0x71, 0xf0, 0x37, 0xe3, 0x03, 0x77, 0x9e, 0x7a, 0xb1, + 0x92, 0x22, 0x95, 0x40, 0x4b, 0x66, 0x62, 0xc1, 0xbb, 0x04, 0xbc, 0x97, 0xc8, 0xe3, 0x65, 0xbc, + 0x12, 0x92, 0xfc, 0x0a, 0xe1, 0x71, 0x25, 0x55, 0x6a, 0x85, 0x56, 0x4d, 0x0f, 0xc7, 0x58, 0x2f, + 0x50, 0xc5, 0xfb, 0xac, 0x05, 0x23, 0x54, 0x1e, 0xcf, 0xf7, 0x11, 0x9e, 0x88, 0xa7, 0x47, 0x9e, + 0x12, 0x53, 0xb8, 0xda, 0xeb, 0x29, 0x5d, 0x2a, 0xac, 0x98, 0x37, 0x10, 0xc0, 0x14, 0x80, 0x5b, + 0xd6, 0x56, 0xee, 0x05, 0xdc, 0x31, 0xaa, 0x8d, 0xf2, 0x9b, 0xec, 0x08, 0xdc, 0xfc, 0x3d, 0xc2, + 0x67, 0x52, 0xef, 0x3b, 0x53, 0x3e, 0x2e, 0x55, 0x23, 0xa7, 0x12, 0x67, 0xd9, 0x50, 0x2d, 0xbc, + 0x5b, 0x05, 0xef, 0x3e, 0x4e, 0xae, 0x95, 0x7a, 0x97, 0x5b, 0xa1, 0x83, 0xbb, 0x89, 0x23, 0xf2, + 0x67, 0x84, 0x27, 0xe2, 0x49, 0x3e, 0xde, 0x04, 0xa9, 0x09, 0xb5, 0x62, 0xde, 0x40, 0xb8, 0xb0, + 0x06, 0x2e, 0x3c, 0xb7, 0x70, 0x7c, 0x17, 0x78, 0xfc, 0x7f, 0x84, 0xf0, 0x38, 0x3f, 0x48, 0x7d, + 0x4a, 0x7e, 0x13, 0x52, 0xb6, 0x28, 0x34, 0x42, 0xed, 0xa2, 0xd0, 0xea, 0x85, 0x0b, 0x8f, 0x83, + 0x0b, 0xe7, 0xc9, 0xa4, 0x74, 0x61, 0xf0, 0x65, 0xca, 0xc0, 0x07, 0x5e, 0x59, 0xe0, 0x6d, 0xd5, + 0xe0, 0xe5, 0x92, 0x4f, 0xa3, 0xfc, 0xc3, 0x6d, 0xea, 0xdd, 0x53, 0xfa, 0x0c, 0x79, 0xa1, 0x42, + 0x97, 0x4f, 0x05, 0x7e, 0x54, 0xf0, 0xe2, 0x4f, 0x4d, 0x7c, 0x1e, 0x42, 0xf9, 0x91, 0x4c, 0x8b, + 0x1d, 0xf4, 0xf9, 0x19, 0x22, 0xbf, 0x09, 0xfd, 0x0c, 0xe1, 0x53, 0x4d, 0x9a, 0x02, 0x3c, 0xc8, + 0x7f, 0x34, 0x90, 0x32, 0xa6, 0xd2, 0xf6, 0x5c, 0x89, 0xcc, 0xfe, 0x34, 0x90, 0x7d, 0x92, 0x6c, + 0x98, 0x92, 0x55, 0x5f, 0x18, 0xbf, 0x87, 0xf0, 0x58, 0xbc, 0xd0, 0xd3, 0xb0, 0x73, 0x25, 0x14, + 0x6a, 0x1d, 0x99, 0x37, 0x50, 0x8a, 0xc9, 0xbd, 0x03, 0xf4, 0xb7, 0xac, 0x87, 0x47, 0xcf, 0xf3, + 0xb5, 0x83, 0x71, 0x93, 0xb2, 0xcf, 0xc6, 0x67, 0xb7, 0xfc, 0x37, 0x3e, 0x03, 0x9b, 0xf6, 0x1b, + 0x9f, 0xb4, 0x44, 0xa0, 0x8e, 0x03, 0xea, 0x18, 0x19, 0x91, 0xa8, 0xe2, 0x6c, 0x48, 0xfe, 0x12, + 0x6f, 0x6a, 0x6b, 0x83, 0x4f, 0x90, 0x44, 0xc4, 0xaa, 0xdf, 0x88, 0xe7, 0xd0, 0x72, 0x9d, 0xd8, + 0x3b, 0x30, 0xac, 0x4b, 0x5a, 0xc9, 0x69, 0x3c, 0xfb, 0xa9, 0x13, 0xc4, 0x09, 0x8e, 0xa7, 0x35, + 0x43, 0xa5, 0xbe, 0x33, 0xff, 0xe6, 0x50, 0xbc, 0xc8, 0xb3, 0x08, 0x7e, 0x51, 0x99, 0xcd, 0x71, + 0xa6, 0x57, 0xd3, 0x8c, 0x91, 0xda, 0x7e, 0x2b, 0x7e, 0x2a, 0xfb, 0x3e, 0x22, 0xb7, 0xcb, 0x7d, + 0xab, 0xed, 0xd8, 0x56, 0x93, 0xac, 0x3f, 0x94, 0x2e, 0x5f, 0xbc, 0xb6, 0x75, 0x75, 0xc7, 0x67, + 0xbb, 0x7b, 0xdb, 0x8d, 0x76, 0xd0, 0x75, 0xc0, 0xad, 0x20, 0xdc, 0x71, 0x92, 0xaf, 0xcf, 0x76, + 0x68, 0xcf, 0xe9, 0x6f, 0x2f, 0xef, 0x04, 0x4e, 0xf6, 0x2b, 0xc6, 0xed, 0x0f, 0xc3, 0x07, 0x68, + 0x4f, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0x36, 0x38, 0x50, 0x1c, 0xe0, 0x28, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/gen/pb-go/flyteidl/service/cache.pb.go b/gen/pb-go/flyteidl/service/cache.pb.go new file mode 100644 index 000000000..b548e280d --- /dev/null +++ b/gen/pb-go/flyteidl/service/cache.pb.go @@ -0,0 +1,309 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/service/cache.proto + +package service + +import ( + context "context" + fmt "fmt" + core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + 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 EvictExecutionCacheRequest struct { + // Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for. + WorkflowExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=workflow_execution_id,json=workflowExecutionId,proto3" json:"workflow_execution_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvictExecutionCacheRequest) Reset() { *m = EvictExecutionCacheRequest{} } +func (m *EvictExecutionCacheRequest) String() string { return proto.CompactTextString(m) } +func (*EvictExecutionCacheRequest) ProtoMessage() {} +func (*EvictExecutionCacheRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_c5ff5da69b96fa44, []int{0} +} + +func (m *EvictExecutionCacheRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvictExecutionCacheRequest.Unmarshal(m, b) +} +func (m *EvictExecutionCacheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvictExecutionCacheRequest.Marshal(b, m, deterministic) +} +func (m *EvictExecutionCacheRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvictExecutionCacheRequest.Merge(m, src) +} +func (m *EvictExecutionCacheRequest) XXX_Size() int { + return xxx_messageInfo_EvictExecutionCacheRequest.Size(m) +} +func (m *EvictExecutionCacheRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EvictExecutionCacheRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_EvictExecutionCacheRequest proto.InternalMessageInfo + +func (m *EvictExecutionCacheRequest) GetWorkflowExecutionId() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.WorkflowExecutionId + } + return nil +} + +type EvictTaskExecutionCacheRequest struct { + // Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for. + TaskExecutionId *core.TaskExecutionIdentifier `protobuf:"bytes,1,opt,name=task_execution_id,json=taskExecutionId,proto3" json:"task_execution_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvictTaskExecutionCacheRequest) Reset() { *m = EvictTaskExecutionCacheRequest{} } +func (m *EvictTaskExecutionCacheRequest) String() string { return proto.CompactTextString(m) } +func (*EvictTaskExecutionCacheRequest) ProtoMessage() {} +func (*EvictTaskExecutionCacheRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_c5ff5da69b96fa44, []int{1} +} + +func (m *EvictTaskExecutionCacheRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvictTaskExecutionCacheRequest.Unmarshal(m, b) +} +func (m *EvictTaskExecutionCacheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvictTaskExecutionCacheRequest.Marshal(b, m, deterministic) +} +func (m *EvictTaskExecutionCacheRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvictTaskExecutionCacheRequest.Merge(m, src) +} +func (m *EvictTaskExecutionCacheRequest) XXX_Size() int { + return xxx_messageInfo_EvictTaskExecutionCacheRequest.Size(m) +} +func (m *EvictTaskExecutionCacheRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EvictTaskExecutionCacheRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_EvictTaskExecutionCacheRequest proto.InternalMessageInfo + +func (m *EvictTaskExecutionCacheRequest) GetTaskExecutionId() *core.TaskExecutionIdentifier { + if m != nil { + return m.TaskExecutionId + } + return nil +} + +type EvictCacheResponse struct { + // List of errors encountered during cache eviction (if any). + Errors *core.CacheEvictionErrorList `protobuf:"bytes,1,opt,name=errors,proto3" json:"errors,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EvictCacheResponse) Reset() { *m = EvictCacheResponse{} } +func (m *EvictCacheResponse) String() string { return proto.CompactTextString(m) } +func (*EvictCacheResponse) ProtoMessage() {} +func (*EvictCacheResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_c5ff5da69b96fa44, []int{2} +} + +func (m *EvictCacheResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EvictCacheResponse.Unmarshal(m, b) +} +func (m *EvictCacheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EvictCacheResponse.Marshal(b, m, deterministic) +} +func (m *EvictCacheResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_EvictCacheResponse.Merge(m, src) +} +func (m *EvictCacheResponse) XXX_Size() int { + return xxx_messageInfo_EvictCacheResponse.Size(m) +} +func (m *EvictCacheResponse) XXX_DiscardUnknown() { + xxx_messageInfo_EvictCacheResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_EvictCacheResponse proto.InternalMessageInfo + +func (m *EvictCacheResponse) GetErrors() *core.CacheEvictionErrorList { + if m != nil { + return m.Errors + } + return nil +} + +func init() { + proto.RegisterType((*EvictExecutionCacheRequest)(nil), "flyteidl.service.EvictExecutionCacheRequest") + proto.RegisterType((*EvictTaskExecutionCacheRequest)(nil), "flyteidl.service.EvictTaskExecutionCacheRequest") + proto.RegisterType((*EvictCacheResponse)(nil), "flyteidl.service.EvictCacheResponse") +} + +func init() { proto.RegisterFile("flyteidl/service/cache.proto", fileDescriptor_c5ff5da69b96fa44) } + +var fileDescriptor_c5ff5da69b96fa44 = []byte{ + // 476 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x8a, 0x13, 0x41, + 0x10, 0x26, 0x46, 0x72, 0x68, 0x05, 0x75, 0x16, 0x51, 0x86, 0x65, 0x91, 0xa0, 0x22, 0x41, 0xa7, + 0x75, 0x3d, 0x88, 0x07, 0x2f, 0x4a, 0x0e, 0x82, 0xa7, 0xac, 0x20, 0x78, 0x30, 0x74, 0x7a, 0x2a, + 0xb3, 0x6d, 0x92, 0xae, 0xb1, 0xbb, 0x32, 0x71, 0xd9, 0xcd, 0xc5, 0x57, 0xf0, 0x01, 0xbc, 0x88, + 0xe0, 0xcd, 0x77, 0xf1, 0x15, 0x04, 0x5f, 0x43, 0xa6, 0xe7, 0x07, 0x67, 0x76, 0x5a, 0x77, 0xaf, + 0xfd, 0x7d, 0xf5, 0xd5, 0x57, 0xf5, 0x15, 0xcd, 0x76, 0xe7, 0xcb, 0x23, 0x02, 0x15, 0x2f, 0xb9, + 0x05, 0x93, 0x29, 0x09, 0x5c, 0x0a, 0x79, 0x08, 0x51, 0x6a, 0x90, 0x30, 0xb8, 0x5a, 0xa1, 0x51, + 0x89, 0x86, 0xbb, 0x09, 0x62, 0xb2, 0x04, 0x2e, 0x52, 0xc5, 0x85, 0xd6, 0x48, 0x82, 0x14, 0x6a, + 0x5b, 0xf0, 0xc3, 0xb0, 0x56, 0x93, 0x68, 0x80, 0x83, 0x31, 0x68, 0x2a, 0x6c, 0xaf, 0x89, 0xa9, + 0x18, 0x34, 0xa9, 0xb9, 0x02, 0x53, 0xe0, 0xc3, 0x13, 0x16, 0x8e, 0x33, 0x25, 0x69, 0xfc, 0x11, + 0xe4, 0x3a, 0x17, 0x7d, 0x91, 0x1b, 0x99, 0xc0, 0x87, 0x35, 0x58, 0x0a, 0xde, 0xb1, 0xeb, 0x1b, + 0x34, 0x8b, 0xf9, 0x12, 0x37, 0x53, 0xa8, 0x18, 0x53, 0x15, 0xdf, 0xec, 0xdd, 0xea, 0xdd, 0xbb, + 0xb4, 0x3f, 0x8a, 0x6a, 0xa7, 0xb9, 0x7a, 0xf4, 0xa6, 0xe4, 0xd6, 0x62, 0x2f, 0xeb, 0x76, 0x93, + 0x9d, 0xcd, 0x69, 0x70, 0x48, 0x6c, 0xcf, 0x75, 0x7f, 0x2d, 0xec, 0xa2, 0xdb, 0xc1, 0x84, 0x5d, + 0x23, 0x61, 0x17, 0x5d, 0xdd, 0xef, 0xb6, 0xba, 0x37, 0x44, 0xfe, 0xea, 0x7c, 0x85, 0x9a, 0xc0, + 0xf0, 0x80, 0x05, 0xae, 0x6b, 0xd9, 0xc8, 0xa6, 0xa8, 0x2d, 0x04, 0xcf, 0xd8, 0xa0, 0xd8, 0x5c, + 0x29, 0x7f, 0xa7, 0x25, 0xef, 0xd8, 0xae, 0x4e, 0xa1, 0x1e, 0xe7, 0xcc, 0x57, 0xca, 0xd2, 0xa4, + 0x2c, 0xda, 0xff, 0x32, 0x60, 0x97, 0x1d, 0xe5, 0xa0, 0xc8, 0x2c, 0xf8, 0xdd, 0x63, 0x3b, 0x1d, + 0xab, 0x0d, 0xee, 0x47, 0xed, 0x78, 0x23, 0x7f, 0x02, 0xe1, 0x6d, 0x0f, 0xbb, 0xe1, 0x7d, 0x78, + 0xf2, 0xe9, 0xe7, 0xaf, 0xcf, 0x17, 0xb2, 0x11, 0xb9, 0x0b, 0xc9, 0x1e, 0x15, 0xe7, 0xc4, 0xeb, + 0xa5, 0x59, 0x7e, 0xdc, 0x99, 0x63, 0x7e, 0x04, 0xef, 0x41, 0xd2, 0xd6, 0x87, 0xc7, 0xb8, 0x12, + 0x4a, 0x7b, 0x61, 0x2d, 0x56, 0xb0, 0x0d, 0xbe, 0x5e, 0x64, 0x37, 0x3c, 0x31, 0x06, 0x0f, 0x3d, + 0xfe, 0xbd, 0x89, 0x9f, 0x71, 0xe2, 0x1f, 0x7d, 0x37, 0xf2, 0xf7, 0xfe, 0xe8, 0x5b, 0xbf, 0x39, + 0x74, 0xf3, 0x5c, 0x2c, 0x3f, 0x3e, 0x75, 0x3f, 0x91, 0xc6, 0x18, 0x9a, 0x2f, 0x9e, 0xa5, 0x9c, + 0xbb, 0xb4, 0xde, 0xd7, 0xb9, 0x2b, 0xdd, 0x2a, 0xcf, 0x56, 0xe7, 0x5e, 0x54, 0xdc, 0xc9, 0x76, + 0x2f, 0xff, 0x99, 0xa1, 0xe2, 0xfc, 0xc3, 0x6c, 0x45, 0xf1, 0xba, 0xaa, 0x08, 0x19, 0x18, 0xab, + 0xb0, 0x5b, 0xc4, 0x00, 0x99, 0xa3, 0xa9, 0x20, 0x82, 0x55, 0x4a, 0xdb, 0xe7, 0x4f, 0xdf, 0x3e, + 0x49, 0x14, 0x1d, 0xae, 0x67, 0x91, 0xc4, 0x15, 0x77, 0x21, 0xa3, 0x49, 0x78, 0xfd, 0x41, 0x25, + 0xa0, 0x79, 0x3a, 0x7b, 0x90, 0x20, 0x6f, 0xff, 0x8e, 0xb3, 0x81, 0xfb, 0xac, 0x1e, 0xff, 0x09, + 0x00, 0x00, 0xff, 0xff, 0xf4, 0x3a, 0xd2, 0x67, 0x38, 0x05, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CacheServiceClient is the client API for CacheService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CacheServiceClient interface { + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`. + EvictExecutionCache(ctx context.Context, in *EvictExecutionCacheRequest, opts ...grpc.CallOption) (*EvictCacheResponse, error) + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`. + EvictTaskExecutionCache(ctx context.Context, in *EvictTaskExecutionCacheRequest, opts ...grpc.CallOption) (*EvictCacheResponse, error) +} + +type cacheServiceClient struct { + cc *grpc.ClientConn +} + +func NewCacheServiceClient(cc *grpc.ClientConn) CacheServiceClient { + return &cacheServiceClient{cc} +} + +func (c *cacheServiceClient) EvictExecutionCache(ctx context.Context, in *EvictExecutionCacheRequest, opts ...grpc.CallOption) (*EvictCacheResponse, error) { + out := new(EvictCacheResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.CacheService/EvictExecutionCache", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *cacheServiceClient) EvictTaskExecutionCache(ctx context.Context, in *EvictTaskExecutionCacheRequest, opts ...grpc.CallOption) (*EvictCacheResponse, error) { + out := new(EvictCacheResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.CacheService/EvictTaskExecutionCache", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CacheServiceServer is the server API for CacheService service. +type CacheServiceServer interface { + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`. + EvictExecutionCache(context.Context, *EvictExecutionCacheRequest) (*EvictCacheResponse, error) + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`. + EvictTaskExecutionCache(context.Context, *EvictTaskExecutionCacheRequest) (*EvictCacheResponse, error) +} + +// UnimplementedCacheServiceServer can be embedded to have forward compatible implementations. +type UnimplementedCacheServiceServer struct { +} + +func (*UnimplementedCacheServiceServer) EvictExecutionCache(ctx context.Context, req *EvictExecutionCacheRequest) (*EvictCacheResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EvictExecutionCache not implemented") +} +func (*UnimplementedCacheServiceServer) EvictTaskExecutionCache(ctx context.Context, req *EvictTaskExecutionCacheRequest) (*EvictCacheResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EvictTaskExecutionCache not implemented") +} + +func RegisterCacheServiceServer(s *grpc.Server, srv CacheServiceServer) { + s.RegisterService(&_CacheService_serviceDesc, srv) +} + +func _CacheService_EvictExecutionCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EvictExecutionCacheRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CacheServiceServer).EvictExecutionCache(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.CacheService/EvictExecutionCache", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CacheServiceServer).EvictExecutionCache(ctx, req.(*EvictExecutionCacheRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CacheService_EvictTaskExecutionCache_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EvictTaskExecutionCacheRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CacheServiceServer).EvictTaskExecutionCache(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.CacheService/EvictTaskExecutionCache", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CacheServiceServer).EvictTaskExecutionCache(ctx, req.(*EvictTaskExecutionCacheRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CacheService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.service.CacheService", + HandlerType: (*CacheServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "EvictExecutionCache", + Handler: _CacheService_EvictExecutionCache_Handler, + }, + { + MethodName: "EvictTaskExecutionCache", + Handler: _CacheService_EvictTaskExecutionCache_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/service/cache.proto", +} diff --git a/gen/pb-go/flyteidl/service/cache.pb.gw.go b/gen/pb-go/flyteidl/service/cache.pb.gw.go new file mode 100644 index 000000000..fdf0495d8 --- /dev/null +++ b/gen/pb-go/flyteidl/service/cache.pb.gw.go @@ -0,0 +1,308 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/service/cache.proto + +/* +Package service is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package service + +import ( + "context" + "io" + "net/http" + + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/status" +) + +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray + +var ( + filter_CacheService_EvictExecutionCache_0 = &utilities.DoubleArray{Encoding: map[string]int{"workflow_execution_id": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} +) + +func request_CacheService_EvictExecutionCache_0(ctx context.Context, marshaler runtime.Marshaler, client CacheServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq EvictExecutionCacheRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["workflow_execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.project", err) + } + + val, ok = pathParams["workflow_execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.domain", err) + } + + val, ok = pathParams["workflow_execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "workflow_execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "workflow_execution_id.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "workflow_execution_id.name", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_CacheService_EvictExecutionCache_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.EvictExecutionCache(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_CacheService_EvictTaskExecutionCache_0 = &utilities.DoubleArray{Encoding: map[string]int{"task_execution_id": 0, "node_execution_id": 1, "execution_id": 2, "project": 3, "domain": 4, "name": 5, "node_id": 6, "task_id": 7, "version": 8, "retry_attempt": 9}, Base: []int{1, 20, 1, 1, 1, 4, 3, 2, 7, 5, 3, 0, 0, 0, 9, 6, 0, 15, 9, 0, 17, 12, 0, 19, 15, 0, 19, 18, 0, 20, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 7, 2, 9, 10, 5, 8, 11, 2, 15, 16, 2, 18, 19, 2, 21, 22, 2, 24, 25, 2, 27, 28, 2, 30}} +) + +func request_CacheService_EvictTaskExecutionCache_0(ctx context.Context, marshaler runtime.Marshaler, client CacheServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq EvictTaskExecutionCacheRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["task_execution_id.node_execution_id.execution_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.node_execution_id.execution_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.node_execution_id.execution_id.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.node_execution_id.execution_id.project", err) + } + + val, ok = pathParams["task_execution_id.node_execution_id.execution_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.node_execution_id.execution_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.node_execution_id.execution_id.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.node_execution_id.execution_id.domain", err) + } + + val, ok = pathParams["task_execution_id.node_execution_id.execution_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.node_execution_id.execution_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.node_execution_id.execution_id.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.node_execution_id.execution_id.name", err) + } + + val, ok = pathParams["task_execution_id.node_execution_id.node_id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.node_execution_id.node_id") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.node_execution_id.node_id", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.node_execution_id.node_id", err) + } + + val, ok = pathParams["task_execution_id.task_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.task_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.task_id.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.task_id.project", err) + } + + val, ok = pathParams["task_execution_id.task_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.task_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.task_id.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.task_id.domain", err) + } + + val, ok = pathParams["task_execution_id.task_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.task_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.task_id.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.task_id.name", err) + } + + val, ok = pathParams["task_execution_id.task_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.task_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.task_id.version", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.task_id.version", err) + } + + val, ok = pathParams["task_execution_id.retry_attempt"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "task_execution_id.retry_attempt") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "task_execution_id.retry_attempt", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "task_execution_id.retry_attempt", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_CacheService_EvictTaskExecutionCache_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.EvictTaskExecutionCache(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +// RegisterCacheServiceHandlerFromEndpoint is same as RegisterCacheServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterCacheServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterCacheServiceHandler(ctx, mux, conn) +} + +// RegisterCacheServiceHandler registers the http handlers for service CacheService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterCacheServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterCacheServiceHandlerClient(ctx, mux, NewCacheServiceClient(conn)) +} + +// RegisterCacheServiceHandlerClient registers the http handlers for service CacheService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CacheServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CacheServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "CacheServiceClient" to call the correct interceptors. +func RegisterCacheServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CacheServiceClient) error { + + mux.Handle("DELETE", pattern_CacheService_EvictExecutionCache_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_CacheService_EvictExecutionCache_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_CacheService_EvictExecutionCache_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("DELETE", pattern_CacheService_EvictTaskExecutionCache_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_CacheService_EvictTaskExecutionCache_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_CacheService_EvictTaskExecutionCache_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_CacheService_EvictExecutionCache_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}, []string{"api", "v1", "cache", "executions", "workflow_execution_id.project", "workflow_execution_id.domain", "workflow_execution_id.name"}, "")) + + pattern_CacheService_EvictTaskExecutionCache_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", "cache", "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"}, "")) +) + +var ( + forward_CacheService_EvictExecutionCache_0 = runtime.ForwardResponseMessage + + forward_CacheService_EvictTaskExecutionCache_0 = runtime.ForwardResponseMessage +) diff --git a/gen/pb-go/flyteidl/service/cache.swagger.json b/gen/pb-go/flyteidl/service/cache.swagger.json new file mode 100644 index 000000000..b2aa09e73 --- /dev/null +++ b/gen/pb-go/flyteidl/service/cache.swagger.json @@ -0,0 +1,300 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/service/cache.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/api/v1/cache/executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}": { + "delete": { + "summary": "Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`.", + "operationId": "EvictExecutionCache", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/serviceEvictCacheResponse" + } + } + }, + "parameters": [ + { + "name": "workflow_execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow_execution_id.domain", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow_execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "CacheService" + ] + } + }, + "/api/v1/cache/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}": { + "delete": { + "summary": "Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`.", + "operationId": "EvictTaskExecutionCache", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/serviceEvictCacheResponse" + } + } + }, + "parameters": [ + { + "name": "task_execution_id.node_execution_id.execution_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.node_execution_id.execution_id.domain", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.node_execution_id.execution_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.node_execution_id.node_id", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.task_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.task_id.domain", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.task_id.name", + "description": "User provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.task_id.version", + "description": "Specific version of the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "task_execution_id.retry_attempt", + "in": "path", + "required": true, + "type": "integer", + "format": "int64" + }, + { + "name": "task_execution_id.task_id.resource_type", + "description": "Identifies the specific type of resource that this identifier corresponds to.\n\n - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects.\nEventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects \nin a similar manner to other Flyte objects", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ], + "default": "UNSPECIFIED" + } + ], + "tags": [ + "CacheService" + ] + } + } + }, + "definitions": { + "CacheEvictionErrorCode": { + "type": "string", + "enum": [ + "INTERNAL", + "RESERVATION_NOT_ACQUIRED", + "DATABASE_UPDATE_FAILED", + "ARTIFACT_DELETE_FAILED", + "RESERVATION_NOT_RELEASED" + ], + "default": "INTERNAL", + "description": "Defines codes for distinguishing between errors encountered during cache eviction.\n\n - INTERNAL: Indicates a generic internal error occurred.\n - RESERVATION_NOT_ACQUIRED: Indicates no reservation could be acquired before deleting an artifact.\n - DATABASE_UPDATE_FAILED: Indicates updating the database entry related to the node execution failed.\n - ARTIFACT_DELETE_FAILED: Indicates deleting the artifact from datacatalog failed.\n - RESERVATION_NOT_RELEASED: Indicates the reservation previously acquired could not be released for an artifact." + }, + "coreCacheEvictionError": { + "type": "object", + "properties": { + "code": { + "$ref": "#/definitions/CacheEvictionErrorCode", + "description": "Error code to match type of cache eviction error encountered." + }, + "message": { + "type": "string", + "description": "More detailed error message explaining the reason for the cache eviction failure." + }, + "node_execution_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier", + "description": "ID of the node execution the cache eviction failed for." + }, + "task_execution_id": { + "$ref": "#/definitions/coreTaskExecutionIdentifier", + "description": "ID of the task execution the cache eviction failed for (if the node execution was part of a task execution)." + }, + "workflow_execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier", + "description": "ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution)." + } + }, + "description": "Error returned if eviction of cached output fails and should be re-tried by the user." + }, + "coreCacheEvictionErrorList": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "$ref": "#/definitions/coreCacheEvictionError" + } + } + }, + "description": "List of :ref:`ref_flyteidl.core.CacheEvictionError` encountered during a cache eviction request." + }, + "coreIdentifier": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Identifies the specific type of resource that this identifier corresponds to." + }, + "project": { + "type": "string", + "description": "Name of the project the resource belongs to." + }, + "domain": { + "type": "string", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project." + }, + "name": { + "type": "string", + "description": "User provided value for the resource." + }, + "version": { + "type": "string", + "description": "Specific version of the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "coreNodeExecutionIdentifier": { + "type": "object", + "properties": { + "node_id": { + "type": "string" + }, + "execution_id": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + } + }, + "description": "Encapsulation of fields that identify a Flyte node execution entity." + }, + "coreResourceType": { + "type": "string", + "enum": [ + "UNSPECIFIED", + "TASK", + "WORKFLOW", + "LAUNCH_PLAN", + "DATASET" + ], + "default": "UNSPECIFIED", + "description": "Indicates a resource type within Flyte.\n\n - DATASET: A dataset represents an entity modeled in Flyte DataCatalog. A Dataset is also a versioned entity and can be a compilation of multiple individual objects.\nEventually all Catalog objects should be modeled similar to Flyte Objects. The Dataset entities makes it possible for the UI and CLI to act on the objects \nin a similar manner to other Flyte objects" + }, + "coreTaskExecutionIdentifier": { + "type": "object", + "properties": { + "task_id": { + "$ref": "#/definitions/coreIdentifier" + }, + "node_execution_id": { + "$ref": "#/definitions/coreNodeExecutionIdentifier" + }, + "retry_attempt": { + "type": "integer", + "format": "int64" + } + }, + "description": "Encapsulation of fields that identify a Flyte task execution entity." + }, + "coreWorkflowExecutionIdentifier": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Name of the project the resource belongs to." + }, + "domain": { + "type": "string", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project." + }, + "name": { + "type": "string", + "description": "User or system provided value for the resource." + } + }, + "title": "Encapsulation of fields that uniquely identifies a Flyte workflow execution" + }, + "serviceEvictCacheResponse": { + "type": "object", + "properties": { + "errors": { + "$ref": "#/definitions/coreCacheEvictionErrorList", + "description": "List of errors encountered during cache eviction (if any)." + } + } + } + } +} diff --git a/gen/pb-java/datacatalog/Datacatalog.java b/gen/pb-java/datacatalog/Datacatalog.java index a10dd9b2a..2dc63aab6 100644 --- a/gen/pb-java/datacatalog/Datacatalog.java +++ b/gen/pb-java/datacatalog/Datacatalog.java @@ -12414,71 +12414,74 @@ public datacatalog.Datacatalog.UpdateArtifactResponse getDefaultInstanceForType( } - public interface ReservationIDOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ReservationID) + public interface DeleteArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.DeleteArtifactRequest) com.google.protobuf.MessageOrBuilder { /** *
-     * The unique ID for the reserved dataset
+     * ID of dataset the artifact is associated with
      * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - boolean hasDatasetId(); + boolean hasDataset(); /** *
-     * The unique ID for the reserved dataset
+     * ID of dataset the artifact is associated with
      * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - datacatalog.Datacatalog.DatasetID getDatasetId(); + datacatalog.Datacatalog.DatasetID getDataset(); /** *
-     * The unique ID for the reserved dataset
+     * ID of dataset the artifact is associated with
      * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetIdOrBuilder(); + datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder(); /** - *
-     * The specific artifact tag for the reservation
-     * 
- * - * string tag_name = 2; + * string artifact_id = 2; + */ + java.lang.String getArtifactId(); + /** + * string artifact_id = 2; + */ + com.google.protobuf.ByteString + getArtifactIdBytes(); + + /** + * string tag_name = 3; */ java.lang.String getTagName(); /** - *
-     * The specific artifact tag for the reservation
-     * 
- * - * string tag_name = 2; + * string tag_name = 3; */ com.google.protobuf.ByteString getTagNameBytes(); + + public datacatalog.Datacatalog.DeleteArtifactRequest.QueryHandleCase getQueryHandleCase(); } /** *
-   * ReservationID message that is composed of several string fields.
+   * Request message for deleting an Artifact and its associated ArtifactData.
    * 
* - * Protobuf type {@code datacatalog.ReservationID} + * Protobuf type {@code datacatalog.DeleteArtifactRequest} */ - public static final class ReservationID extends + public static final class DeleteArtifactRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ReservationID) - ReservationIDOrBuilder { + // @@protoc_insertion_point(message_implements:datacatalog.DeleteArtifactRequest) + DeleteArtifactRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use ReservationID.newBuilder() to construct. - private ReservationID(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeleteArtifactRequest.newBuilder() to construct. + private DeleteArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReservationID() { - tagName_ = ""; + private DeleteArtifactRequest() { } @java.lang.Override @@ -12486,7 +12489,7 @@ private ReservationID() { getUnknownFields() { return this.unknownFields; } - private ReservationID( + private DeleteArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12507,21 +12510,27 @@ private ReservationID( break; case 10: { datacatalog.Datacatalog.DatasetID.Builder subBuilder = null; - if (datasetId_ != null) { - subBuilder = datasetId_.toBuilder(); + if (dataset_ != null) { + subBuilder = dataset_.toBuilder(); } - datasetId_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); + dataset_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(datasetId_); - datasetId_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(dataset_); + dataset_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); - - tagName_ = s; + queryHandleCase_ = 2; + queryHandle_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + queryHandleCase_ = 3; + queryHandle_ = s; break; } default: { @@ -12545,86 +12554,168 @@ private ReservationID( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReservationID.class, datacatalog.Datacatalog.ReservationID.Builder.class); + datacatalog.Datacatalog.DeleteArtifactRequest.class, datacatalog.Datacatalog.DeleteArtifactRequest.Builder.class); } - public static final int DATASET_ID_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.DatasetID datasetId_; + private int queryHandleCase_ = 0; + private java.lang.Object queryHandle_; + public enum QueryHandleCase + implements com.google.protobuf.Internal.EnumLite { + ARTIFACT_ID(2), + TAG_NAME(3), + QUERYHANDLE_NOT_SET(0); + private final int value; + private QueryHandleCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static QueryHandleCase valueOf(int value) { + return forNumber(value); + } + + public static QueryHandleCase forNumber(int value) { + switch (value) { + case 2: return ARTIFACT_ID; + case 3: return TAG_NAME; + case 0: return QUERYHANDLE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public QueryHandleCase + getQueryHandleCase() { + return QueryHandleCase.forNumber( + queryHandleCase_); + } + + public static final int DATASET_FIELD_NUMBER = 1; + private datacatalog.Datacatalog.DatasetID dataset_; /** *
-     * The unique ID for the reserved dataset
+     * ID of dataset the artifact is associated with
      * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public boolean hasDatasetId() { - return datasetId_ != null; + public boolean hasDataset() { + return dataset_ != null; } /** *
-     * The unique ID for the reserved dataset
+     * ID of dataset the artifact is associated with
      * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public datacatalog.Datacatalog.DatasetID getDatasetId() { - return datasetId_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : datasetId_; + public datacatalog.Datacatalog.DatasetID getDataset() { + return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; } /** *
-     * The unique ID for the reserved dataset
+     * ID of dataset the artifact is associated with
      * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetIdOrBuilder() { - return getDatasetId(); + public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { + return getDataset(); } - public static final int TAG_NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object tagName_; + public static final int ARTIFACT_ID_FIELD_NUMBER = 2; /** - *
-     * The specific artifact tag for the reservation
-     * 
- * - * string tag_name = 2; + * string artifact_id = 2; + */ + public java.lang.String getArtifactId() { + java.lang.Object ref = ""; + if (queryHandleCase_ == 2) { + ref = queryHandle_; + } + 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(); + if (queryHandleCase_ == 2) { + queryHandle_ = s; + } + return s; + } + } + /** + * string artifact_id = 2; + */ + public com.google.protobuf.ByteString + getArtifactIdBytes() { + java.lang.Object ref = ""; + if (queryHandleCase_ == 2) { + ref = queryHandle_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (queryHandleCase_ == 2) { + queryHandle_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TAG_NAME_FIELD_NUMBER = 3; + /** + * string tag_name = 3; */ public java.lang.String getTagName() { - java.lang.Object ref = tagName_; + java.lang.Object ref = ""; + if (queryHandleCase_ == 3) { + ref = queryHandle_; + } 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(); - tagName_ = s; + if (queryHandleCase_ == 3) { + queryHandle_ = s; + } return s; } } /** - *
-     * The specific artifact tag for the reservation
-     * 
- * - * string tag_name = 2; + * string tag_name = 3; */ public com.google.protobuf.ByteString getTagNameBytes() { - java.lang.Object ref = tagName_; + java.lang.Object ref = ""; + if (queryHandleCase_ == 3) { + ref = queryHandle_; + } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - tagName_ = b; + if (queryHandleCase_ == 3) { + queryHandle_ = b; + } return b; } else { return (com.google.protobuf.ByteString) ref; @@ -12645,11 +12736,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (datasetId_ != null) { - output.writeMessage(1, getDatasetId()); + if (dataset_ != null) { + output.writeMessage(1, getDataset()); } - if (!getTagNameBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tagName_); + if (queryHandleCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, queryHandle_); + } + if (queryHandleCase_ == 3) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, queryHandle_); } unknownFields.writeTo(output); } @@ -12660,12 +12754,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (datasetId_ != null) { + if (dataset_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDatasetId()); + .computeMessageSize(1, getDataset()); } - if (!getTagNameBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagName_); + if (queryHandleCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, queryHandle_); + } + if (queryHandleCase_ == 3) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, queryHandle_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12677,22 +12774,33 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof datacatalog.Datacatalog.ReservationID)) { + if (!(obj instanceof datacatalog.Datacatalog.DeleteArtifactRequest)) { return super.equals(obj); } - datacatalog.Datacatalog.ReservationID other = (datacatalog.Datacatalog.ReservationID) obj; + datacatalog.Datacatalog.DeleteArtifactRequest other = (datacatalog.Datacatalog.DeleteArtifactRequest) obj; - if (hasDatasetId() != other.hasDatasetId()) return false; - if (hasDatasetId()) { - if (!getDatasetId() - .equals(other.getDatasetId())) return false; + if (hasDataset() != other.hasDataset()) return false; + if (hasDataset()) { + if (!getDataset() + .equals(other.getDataset())) return false; } - if (!getTagName() - .equals(other.getTagName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - + if (!getQueryHandleCase().equals(other.getQueryHandleCase())) return false; + switch (queryHandleCase_) { + case 2: + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + break; + case 3: + if (!getTagName() + .equals(other.getTagName())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -12700,80 +12808,90 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasDatasetId()) { - hash = (37 * hash) + DATASET_ID_FIELD_NUMBER; - hash = (53 * hash) + getDatasetId().hashCode(); + if (hasDataset()) { + hash = (37 * hash) + DATASET_FIELD_NUMBER; + hash = (53 * hash) + getDataset().hashCode(); + } + switch (queryHandleCase_) { + case 2: + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + break; + case 3: + hash = (37 * hash) + TAG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTagName().hashCode(); + break; + case 0: + default: } - hash = (37 * hash) + TAG_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTagName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.ReservationID parseFrom(byte[] data) + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.ReservationID parseFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest 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 datacatalog.Datacatalog.ReservationID parseDelimitedFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.DeleteArtifactRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.ReservationID parseDelimitedFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest 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 datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.ReservationID parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -12786,7 +12904,7 @@ public static datacatalog.Datacatalog.ReservationID parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(datacatalog.Datacatalog.ReservationID prototype) { + public static Builder newBuilder(datacatalog.Datacatalog.DeleteArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -12803,29 +12921,29 @@ protected Builder newBuilderForType( } /** *
-     * ReservationID message that is composed of several string fields.
+     * Request message for deleting an Artifact and its associated ArtifactData.
      * 
* - * Protobuf type {@code datacatalog.ReservationID} + * Protobuf type {@code datacatalog.DeleteArtifactRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ReservationID) - datacatalog.Datacatalog.ReservationIDOrBuilder { + // @@protoc_insertion_point(builder_implements:datacatalog.DeleteArtifactRequest) + datacatalog.Datacatalog.DeleteArtifactRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReservationID.class, datacatalog.Datacatalog.ReservationID.Builder.class); + datacatalog.Datacatalog.DeleteArtifactRequest.class, datacatalog.Datacatalog.DeleteArtifactRequest.Builder.class); } - // Construct using datacatalog.Datacatalog.ReservationID.newBuilder() + // Construct using datacatalog.Datacatalog.DeleteArtifactRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -12843,31 +12961,31 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - if (datasetIdBuilder_ == null) { - datasetId_ = null; + if (datasetBuilder_ == null) { + dataset_ = null; } else { - datasetId_ = null; - datasetIdBuilder_ = null; + dataset_ = null; + datasetBuilder_ = null; } - tagName_ = ""; - + queryHandleCase_ = 0; + queryHandle_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactRequest_descriptor; } @java.lang.Override - public datacatalog.Datacatalog.ReservationID getDefaultInstanceForType() { - return datacatalog.Datacatalog.ReservationID.getDefaultInstance(); + public datacatalog.Datacatalog.DeleteArtifactRequest getDefaultInstanceForType() { + return datacatalog.Datacatalog.DeleteArtifactRequest.getDefaultInstance(); } @java.lang.Override - public datacatalog.Datacatalog.ReservationID build() { - datacatalog.Datacatalog.ReservationID result = buildPartial(); + public datacatalog.Datacatalog.DeleteArtifactRequest build() { + datacatalog.Datacatalog.DeleteArtifactRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -12875,14 +12993,20 @@ public datacatalog.Datacatalog.ReservationID build() { } @java.lang.Override - public datacatalog.Datacatalog.ReservationID buildPartial() { - datacatalog.Datacatalog.ReservationID result = new datacatalog.Datacatalog.ReservationID(this); - if (datasetIdBuilder_ == null) { - result.datasetId_ = datasetId_; + public datacatalog.Datacatalog.DeleteArtifactRequest buildPartial() { + datacatalog.Datacatalog.DeleteArtifactRequest result = new datacatalog.Datacatalog.DeleteArtifactRequest(this); + if (datasetBuilder_ == null) { + result.dataset_ = dataset_; } else { - result.datasetId_ = datasetIdBuilder_.build(); + result.dataset_ = datasetBuilder_.build(); } - result.tagName_ = tagName_; + if (queryHandleCase_ == 2) { + result.queryHandle_ = queryHandle_; + } + if (queryHandleCase_ == 3) { + result.queryHandle_ = queryHandle_; + } + result.queryHandleCase_ = queryHandleCase_; onBuilt(); return result; } @@ -12921,22 +13045,35 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.ReservationID) { - return mergeFrom((datacatalog.Datacatalog.ReservationID)other); + if (other instanceof datacatalog.Datacatalog.DeleteArtifactRequest) { + return mergeFrom((datacatalog.Datacatalog.DeleteArtifactRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(datacatalog.Datacatalog.ReservationID other) { - if (other == datacatalog.Datacatalog.ReservationID.getDefaultInstance()) return this; - if (other.hasDatasetId()) { - mergeDatasetId(other.getDatasetId()); + public Builder mergeFrom(datacatalog.Datacatalog.DeleteArtifactRequest other) { + if (other == datacatalog.Datacatalog.DeleteArtifactRequest.getDefaultInstance()) return this; + if (other.hasDataset()) { + mergeDataset(other.getDataset()); } - if (!other.getTagName().isEmpty()) { - tagName_ = other.tagName_; - onChanged(); + switch (other.getQueryHandleCase()) { + case ARTIFACT_ID: { + queryHandleCase_ = 2; + queryHandle_ = other.queryHandle_; + onChanged(); + break; + } + case TAG_NAME: { + queryHandleCase_ = 3; + queryHandle_ = other.queryHandle_; + onChanged(); + break; + } + case QUERYHANDLE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -12953,11 +13090,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - datacatalog.Datacatalog.ReservationID parsedMessage = null; + datacatalog.Datacatalog.DeleteArtifactRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ReservationID) e.getUnfinishedMessage(); + parsedMessage = (datacatalog.Datacatalog.DeleteArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12966,236 +13103,322 @@ public Builder mergeFrom( } return this; } + private int queryHandleCase_ = 0; + private java.lang.Object queryHandle_; + public QueryHandleCase + getQueryHandleCase() { + return QueryHandleCase.forNumber( + queryHandleCase_); + } - private datacatalog.Datacatalog.DatasetID datasetId_; + public Builder clearQueryHandle() { + queryHandleCase_ = 0; + queryHandle_ = null; + onChanged(); + return this; + } + + + private datacatalog.Datacatalog.DatasetID dataset_; private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetIdBuilder_; + datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetBuilder_; /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public boolean hasDatasetId() { - return datasetIdBuilder_ != null || datasetId_ != null; + public boolean hasDataset() { + return datasetBuilder_ != null || dataset_ != null; } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public datacatalog.Datacatalog.DatasetID getDatasetId() { - if (datasetIdBuilder_ == null) { - return datasetId_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : datasetId_; + public datacatalog.Datacatalog.DatasetID getDataset() { + if (datasetBuilder_ == null) { + return dataset_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; } else { - return datasetIdBuilder_.getMessage(); + return datasetBuilder_.getMessage(); } } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public Builder setDatasetId(datacatalog.Datacatalog.DatasetID value) { - if (datasetIdBuilder_ == null) { + public Builder setDataset(datacatalog.Datacatalog.DatasetID value) { + if (datasetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - datasetId_ = value; + dataset_ = value; onChanged(); } else { - datasetIdBuilder_.setMessage(value); + datasetBuilder_.setMessage(value); } return this; } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public Builder setDatasetId( + public Builder setDataset( datacatalog.Datacatalog.DatasetID.Builder builderForValue) { - if (datasetIdBuilder_ == null) { - datasetId_ = builderForValue.build(); + if (datasetBuilder_ == null) { + dataset_ = builderForValue.build(); onChanged(); } else { - datasetIdBuilder_.setMessage(builderForValue.build()); + datasetBuilder_.setMessage(builderForValue.build()); } return this; } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public Builder mergeDatasetId(datacatalog.Datacatalog.DatasetID value) { - if (datasetIdBuilder_ == null) { - if (datasetId_ != null) { - datasetId_ = - datacatalog.Datacatalog.DatasetID.newBuilder(datasetId_).mergeFrom(value).buildPartial(); + public Builder mergeDataset(datacatalog.Datacatalog.DatasetID value) { + if (datasetBuilder_ == null) { + if (dataset_ != null) { + dataset_ = + datacatalog.Datacatalog.DatasetID.newBuilder(dataset_).mergeFrom(value).buildPartial(); } else { - datasetId_ = value; + dataset_ = value; } onChanged(); } else { - datasetIdBuilder_.mergeFrom(value); + datasetBuilder_.mergeFrom(value); } return this; } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public Builder clearDatasetId() { - if (datasetIdBuilder_ == null) { - datasetId_ = null; + public Builder clearDataset() { + if (datasetBuilder_ == null) { + dataset_ = null; onChanged(); } else { - datasetId_ = null; - datasetIdBuilder_ = null; + dataset_ = null; + datasetBuilder_ = null; } return this; } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public datacatalog.Datacatalog.DatasetID.Builder getDatasetIdBuilder() { + public datacatalog.Datacatalog.DatasetID.Builder getDatasetBuilder() { onChanged(); - return getDatasetIdFieldBuilder().getBuilder(); + return getDatasetFieldBuilder().getBuilder(); } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ - public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetIdOrBuilder() { - if (datasetIdBuilder_ != null) { - return datasetIdBuilder_.getMessageOrBuilder(); + public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetOrBuilder() { + if (datasetBuilder_ != null) { + return datasetBuilder_.getMessageOrBuilder(); } else { - return datasetId_ == null ? - datacatalog.Datacatalog.DatasetID.getDefaultInstance() : datasetId_; + return dataset_ == null ? + datacatalog.Datacatalog.DatasetID.getDefaultInstance() : dataset_; } } /** *
-       * The unique ID for the reserved dataset
+       * ID of dataset the artifact is associated with
        * 
* - * .datacatalog.DatasetID dataset_id = 1; + * .datacatalog.DatasetID dataset = 1; */ private com.google.protobuf.SingleFieldBuilderV3< datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> - getDatasetIdFieldBuilder() { - if (datasetIdBuilder_ == null) { - datasetIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + getDatasetFieldBuilder() { + if (datasetBuilder_ == null) { + datasetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( - getDatasetId(), + getDataset(), getParentForChildren(), isClean()); - datasetId_ = null; + dataset_ = null; } - return datasetIdBuilder_; + return datasetBuilder_; } - private java.lang.Object tagName_ = ""; /** - *
-       * The specific artifact tag for the reservation
-       * 
- * - * string tag_name = 2; + * string artifact_id = 2; + */ + public java.lang.String getArtifactId() { + java.lang.Object ref = ""; + if (queryHandleCase_ == 2) { + ref = queryHandle_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (queryHandleCase_ == 2) { + queryHandle_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string artifact_id = 2; + */ + public com.google.protobuf.ByteString + getArtifactIdBytes() { + java.lang.Object ref = ""; + if (queryHandleCase_ == 2) { + ref = queryHandle_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (queryHandleCase_ == 2) { + queryHandle_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string artifact_id = 2; + */ + public Builder setArtifactId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + queryHandleCase_ = 2; + queryHandle_ = value; + onChanged(); + return this; + } + /** + * string artifact_id = 2; + */ + public Builder clearArtifactId() { + if (queryHandleCase_ == 2) { + queryHandleCase_ = 0; + queryHandle_ = null; + onChanged(); + } + return this; + } + /** + * string artifact_id = 2; + */ + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryHandleCase_ = 2; + queryHandle_ = value; + onChanged(); + return this; + } + + /** + * string tag_name = 3; */ public java.lang.String getTagName() { - java.lang.Object ref = tagName_; + java.lang.Object ref = ""; + if (queryHandleCase_ == 3) { + ref = queryHandle_; + } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - tagName_ = s; + if (queryHandleCase_ == 3) { + queryHandle_ = s; + } return s; } else { return (java.lang.String) ref; } } /** - *
-       * The specific artifact tag for the reservation
-       * 
- * - * string tag_name = 2; + * string tag_name = 3; */ public com.google.protobuf.ByteString getTagNameBytes() { - java.lang.Object ref = tagName_; + java.lang.Object ref = ""; + if (queryHandleCase_ == 3) { + ref = queryHandle_; + } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); - tagName_ = b; + if (queryHandleCase_ == 3) { + queryHandle_ = b; + } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** - *
-       * The specific artifact tag for the reservation
-       * 
- * - * string tag_name = 2; + * string tag_name = 3; */ public Builder setTagName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - - tagName_ = value; + queryHandleCase_ = 3; + queryHandle_ = value; onChanged(); return this; } /** - *
-       * The specific artifact tag for the reservation
-       * 
- * - * string tag_name = 2; + * string tag_name = 3; */ public Builder clearTagName() { - - tagName_ = getDefaultInstance().getTagName(); - onChanged(); + if (queryHandleCase_ == 3) { + queryHandleCase_ = 0; + queryHandle_ = null; + onChanged(); + } return this; } /** - *
-       * The specific artifact tag for the reservation
-       * 
- * - * string tag_name = 2; + * string tag_name = 3; */ public Builder setTagNameBytes( com.google.protobuf.ByteString value) { @@ -13203,8 +13426,8 @@ public Builder setTagNameBytes( throw new NullPointerException(); } checkByteStringIsUtf8(value); - - tagName_ = value; + queryHandleCase_ = 3; + queryHandle_ = value; onChanged(); return this; } @@ -13221,136 +13444,112 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datacatalog.ReservationID) + // @@protoc_insertion_point(builder_scope:datacatalog.DeleteArtifactRequest) } - // @@protoc_insertion_point(class_scope:datacatalog.ReservationID) - private static final datacatalog.Datacatalog.ReservationID DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datacatalog.DeleteArtifactRequest) + private static final datacatalog.Datacatalog.DeleteArtifactRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ReservationID(); + DEFAULT_INSTANCE = new datacatalog.Datacatalog.DeleteArtifactRequest(); } - public static datacatalog.Datacatalog.ReservationID getDefaultInstance() { + public static datacatalog.Datacatalog.DeleteArtifactRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ReservationID parsePartialFrom( + public DeleteArtifactRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReservationID(input, extensionRegistry); + return new DeleteArtifactRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public datacatalog.Datacatalog.ReservationID getDefaultInstanceForType() { + public datacatalog.Datacatalog.DeleteArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GetOrExtendReservationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.GetOrExtendReservationRequest) + public interface DeleteArtifactsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.DeleteArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - boolean hasReservationId(); - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - datacatalog.Datacatalog.ReservationID getReservationId(); - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder(); - - /** - *
-     * The unique ID of the owner for the reservation
+     * List of deletion requests for artifacts to remove
      * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - java.lang.String getOwnerId(); + java.util.List + getArtifactsList(); /** *
-     * The unique ID of the owner for the reservation
+     * List of deletion requests for artifacts to remove
      * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - com.google.protobuf.ByteString - getOwnerIdBytes(); - + datacatalog.Datacatalog.DeleteArtifactRequest getArtifacts(int index); /** *
-     * Requested reservation extension heartbeat interval
+     * List of deletion requests for artifacts to remove
      * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - boolean hasHeartbeatInterval(); + int getArtifactsCount(); /** *
-     * Requested reservation extension heartbeat interval
+     * List of deletion requests for artifacts to remove
      * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - com.google.protobuf.Duration getHeartbeatInterval(); + java.util.List + getArtifactsOrBuilderList(); /** *
-     * Requested reservation extension heartbeat interval
+     * List of deletion requests for artifacts to remove
      * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder(); + datacatalog.Datacatalog.DeleteArtifactRequestOrBuilder getArtifactsOrBuilder( + int index); } /** *
-   * Try to acquire or extend an artifact reservation. If an active reservation exists, retreive that instance.
+   * Request message for deleting multiple Artifacts and their associated ArtifactData.
    * 
* - * Protobuf type {@code datacatalog.GetOrExtendReservationRequest} + * Protobuf type {@code datacatalog.DeleteArtifactsRequest} */ - public static final class GetOrExtendReservationRequest extends + public static final class DeleteArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.GetOrExtendReservationRequest) - GetOrExtendReservationRequestOrBuilder { + // @@protoc_insertion_point(message_implements:datacatalog.DeleteArtifactsRequest) + DeleteArtifactsRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use GetOrExtendReservationRequest.newBuilder() to construct. - private GetOrExtendReservationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeleteArtifactsRequest.newBuilder() to construct. + private DeleteArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOrExtendReservationRequest() { - ownerId_ = ""; + private DeleteArtifactsRequest() { + artifacts_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -13358,7 +13557,7 @@ private GetOrExtendReservationRequest() { getUnknownFields() { return this.unknownFields; } - private GetOrExtendReservationRequest( + private DeleteArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13378,35 +13577,12 @@ private GetOrExtendReservationRequest( done = true; break; case 10: { - datacatalog.Datacatalog.ReservationID.Builder subBuilder = null; - if (reservationId_ != null) { - subBuilder = reservationId_.toBuilder(); - } - reservationId_ = input.readMessage(datacatalog.Datacatalog.ReservationID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reservationId_); - reservationId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - ownerId_ = s; - break; - } - case 26: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (heartbeatInterval_ != null) { - subBuilder = heartbeatInterval_.toBuilder(); - } - heartbeatInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(heartbeatInterval_); - heartbeatInterval_ = subBuilder.buildPartial(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + artifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - + artifacts_.add( + input.readMessage(datacatalog.Datacatalog.DeleteArtifactRequest.parser(), extensionRegistry)); break; } default: { @@ -13424,129 +13600,79 @@ private GetOrExtendReservationRequest( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + artifacts_ = java.util.Collections.unmodifiableList(artifacts_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetOrExtendReservationRequest.class, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder.class); + datacatalog.Datacatalog.DeleteArtifactsRequest.class, datacatalog.Datacatalog.DeleteArtifactsRequest.Builder.class); } - public static final int RESERVATION_ID_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.ReservationID reservationId_; + public static final int ARTIFACTS_FIELD_NUMBER = 1; + private java.util.List artifacts_; /** *
-     * The unique ID for the reservation
+     * List of deletion requests for artifacts to remove
      * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public boolean hasReservationId() { - return reservationId_ != null; - } - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public datacatalog.Datacatalog.ReservationID getReservationId() { - return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; - } - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { - return getReservationId(); - } - - public static final int OWNER_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object ownerId_; - /** - *
-     * The unique ID of the owner for the reservation
-     * 
- * - * string owner_id = 2; - */ - public java.lang.String getOwnerId() { - java.lang.Object ref = ownerId_; - 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(); - ownerId_ = s; - return s; - } + public java.util.List getArtifactsList() { + return artifacts_; } /** *
-     * The unique ID of the owner for the reservation
+     * List of deletion requests for artifacts to remove
      * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public com.google.protobuf.ByteString - getOwnerIdBytes() { - java.lang.Object ref = ownerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public java.util.List + getArtifactsOrBuilderList() { + return artifacts_; } - - public static final int HEARTBEAT_INTERVAL_FIELD_NUMBER = 3; - private com.google.protobuf.Duration heartbeatInterval_; /** *
-     * Requested reservation extension heartbeat interval
+     * List of deletion requests for artifacts to remove
      * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public boolean hasHeartbeatInterval() { - return heartbeatInterval_ != null; + public int getArtifactsCount() { + return artifacts_.size(); } /** *
-     * Requested reservation extension heartbeat interval
+     * List of deletion requests for artifacts to remove
      * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public com.google.protobuf.Duration getHeartbeatInterval() { - return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + public datacatalog.Datacatalog.DeleteArtifactRequest getArtifacts(int index) { + return artifacts_.get(index); } /** *
-     * Requested reservation extension heartbeat interval
+     * List of deletion requests for artifacts to remove
      * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { - return getHeartbeatInterval(); + public datacatalog.Datacatalog.DeleteArtifactRequestOrBuilder getArtifactsOrBuilder( + int index) { + return artifacts_.get(index); } private byte memoizedIsInitialized = -1; @@ -13563,14 +13689,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (reservationId_ != null) { - output.writeMessage(1, getReservationId()); - } - if (!getOwnerIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerId_); - } - if (heartbeatInterval_ != null) { - output.writeMessage(3, getHeartbeatInterval()); + for (int i = 0; i < artifacts_.size(); i++) { + output.writeMessage(1, artifacts_.get(i)); } unknownFields.writeTo(output); } @@ -13581,16 +13701,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (reservationId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReservationId()); - } - if (!getOwnerIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerId_); - } - if (heartbeatInterval_ != null) { + for (int i = 0; i < artifacts_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getHeartbeatInterval()); + .computeMessageSize(1, artifacts_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13602,23 +13715,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof datacatalog.Datacatalog.GetOrExtendReservationRequest)) { + if (!(obj instanceof datacatalog.Datacatalog.DeleteArtifactsRequest)) { return super.equals(obj); } - datacatalog.Datacatalog.GetOrExtendReservationRequest other = (datacatalog.Datacatalog.GetOrExtendReservationRequest) obj; + datacatalog.Datacatalog.DeleteArtifactsRequest other = (datacatalog.Datacatalog.DeleteArtifactsRequest) obj; - if (hasReservationId() != other.hasReservationId()) return false; - if (hasReservationId()) { - if (!getReservationId() - .equals(other.getReservationId())) return false; - } - if (!getOwnerId() - .equals(other.getOwnerId())) return false; - if (hasHeartbeatInterval() != other.hasHeartbeatInterval()) return false; - if (hasHeartbeatInterval()) { - if (!getHeartbeatInterval() - .equals(other.getHeartbeatInterval())) return false; - } + if (!getArtifactsList() + .equals(other.getArtifactsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13630,84 +13733,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasReservationId()) { - hash = (37 * hash) + RESERVATION_ID_FIELD_NUMBER; - hash = (53 * hash) + getReservationId().hashCode(); - } - hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; - hash = (53 * hash) + getOwnerId().hashCode(); - if (hasHeartbeatInterval()) { - hash = (37 * hash) + HEARTBEAT_INTERVAL_FIELD_NUMBER; - hash = (53 * hash) + getHeartbeatInterval().hashCode(); + if (getArtifactsCount() > 0) { + hash = (37 * hash) + ARTIFACTS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom(byte[] data) + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest 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 datacatalog.Datacatalog.GetOrExtendReservationRequest parseDelimitedFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseDelimitedFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest 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 datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13720,7 +13817,7 @@ public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(datacatalog.Datacatalog.GetOrExtendReservationRequest prototype) { + public static Builder newBuilder(datacatalog.Datacatalog.DeleteArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -13737,29 +13834,29 @@ protected Builder newBuilderForType( } /** *
-     * Try to acquire or extend an artifact reservation. If an active reservation exists, retreive that instance.
+     * Request message for deleting multiple Artifacts and their associated ArtifactData.
      * 
* - * Protobuf type {@code datacatalog.GetOrExtendReservationRequest} + * Protobuf type {@code datacatalog.DeleteArtifactsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.GetOrExtendReservationRequest) - datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:datacatalog.DeleteArtifactsRequest) + datacatalog.Datacatalog.DeleteArtifactsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetOrExtendReservationRequest.class, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder.class); + datacatalog.Datacatalog.DeleteArtifactsRequest.class, datacatalog.Datacatalog.DeleteArtifactsRequest.Builder.class); } - // Construct using datacatalog.Datacatalog.GetOrExtendReservationRequest.newBuilder() + // Construct using datacatalog.Datacatalog.DeleteArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -13772,24 +13869,17 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getArtifactsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (reservationIdBuilder_ == null) { - reservationId_ = null; - } else { - reservationId_ = null; - reservationIdBuilder_ = null; - } - ownerId_ = ""; - - if (heartbeatIntervalBuilder_ == null) { - heartbeatInterval_ = null; + if (artifactsBuilder_ == null) { + artifacts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); } else { - heartbeatInterval_ = null; - heartbeatIntervalBuilder_ = null; + artifactsBuilder_.clear(); } return this; } @@ -13797,17 +13887,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactsRequest_descriptor; } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.GetOrExtendReservationRequest.getDefaultInstance(); + public datacatalog.Datacatalog.DeleteArtifactsRequest getDefaultInstanceForType() { + return datacatalog.Datacatalog.DeleteArtifactsRequest.getDefaultInstance(); } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationRequest build() { - datacatalog.Datacatalog.GetOrExtendReservationRequest result = buildPartial(); + public datacatalog.Datacatalog.DeleteArtifactsRequest build() { + datacatalog.Datacatalog.DeleteArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13815,18 +13905,17 @@ public datacatalog.Datacatalog.GetOrExtendReservationRequest build() { } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationRequest buildPartial() { - datacatalog.Datacatalog.GetOrExtendReservationRequest result = new datacatalog.Datacatalog.GetOrExtendReservationRequest(this); - if (reservationIdBuilder_ == null) { - result.reservationId_ = reservationId_; - } else { - result.reservationId_ = reservationIdBuilder_.build(); - } - result.ownerId_ = ownerId_; - if (heartbeatIntervalBuilder_ == null) { - result.heartbeatInterval_ = heartbeatInterval_; + public datacatalog.Datacatalog.DeleteArtifactsRequest buildPartial() { + datacatalog.Datacatalog.DeleteArtifactsRequest result = new datacatalog.Datacatalog.DeleteArtifactsRequest(this); + int from_bitField0_ = bitField0_; + if (artifactsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + artifacts_ = java.util.Collections.unmodifiableList(artifacts_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.artifacts_ = artifacts_; } else { - result.heartbeatInterval_ = heartbeatIntervalBuilder_.build(); + result.artifacts_ = artifactsBuilder_.build(); } onBuilt(); return result; @@ -13866,25 +13955,41 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.GetOrExtendReservationRequest) { - return mergeFrom((datacatalog.Datacatalog.GetOrExtendReservationRequest)other); + if (other instanceof datacatalog.Datacatalog.DeleteArtifactsRequest) { + return mergeFrom((datacatalog.Datacatalog.DeleteArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(datacatalog.Datacatalog.GetOrExtendReservationRequest other) { - if (other == datacatalog.Datacatalog.GetOrExtendReservationRequest.getDefaultInstance()) return this; - if (other.hasReservationId()) { - mergeReservationId(other.getReservationId()); - } - if (!other.getOwnerId().isEmpty()) { - ownerId_ = other.ownerId_; - onChanged(); - } - if (other.hasHeartbeatInterval()) { - mergeHeartbeatInterval(other.getHeartbeatInterval()); + public Builder mergeFrom(datacatalog.Datacatalog.DeleteArtifactsRequest other) { + if (other == datacatalog.Datacatalog.DeleteArtifactsRequest.getDefaultInstance()) return this; + if (artifactsBuilder_ == null) { + if (!other.artifacts_.isEmpty()) { + if (artifacts_.isEmpty()) { + artifacts_ = other.artifacts_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureArtifactsIsMutable(); + artifacts_.addAll(other.artifacts_); + } + onChanged(); + } + } else { + if (!other.artifacts_.isEmpty()) { + if (artifactsBuilder_.isEmpty()) { + artifactsBuilder_.dispose(); + artifactsBuilder_ = null; + artifacts_ = other.artifacts_; + bitField0_ = (bitField0_ & ~0x00000001); + artifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactsFieldBuilder() : null; + } else { + artifactsBuilder_.addAllMessages(other.artifacts_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -13901,11 +14006,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - datacatalog.Datacatalog.GetOrExtendReservationRequest parsedMessage = null; + datacatalog.Datacatalog.DeleteArtifactsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.GetOrExtendReservationRequest) e.getUnfinishedMessage(); + parsedMessage = (datacatalog.Datacatalog.DeleteArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13914,400 +14019,318 @@ public Builder mergeFrom( } return this; } + private int bitField0_; + + private java.util.List artifacts_ = + java.util.Collections.emptyList(); + private void ensureArtifactsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + artifacts_ = new java.util.ArrayList(artifacts_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.DeleteArtifactRequest, datacatalog.Datacatalog.DeleteArtifactRequest.Builder, datacatalog.Datacatalog.DeleteArtifactRequestOrBuilder> artifactsBuilder_; - private datacatalog.Datacatalog.ReservationID reservationId_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> reservationIdBuilder_; /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public boolean hasReservationId() { - return reservationIdBuilder_ != null || reservationId_ != null; + public java.util.List getArtifactsList() { + if (artifactsBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifacts_); + } else { + return artifactsBuilder_.getMessageList(); + } } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public datacatalog.Datacatalog.ReservationID getReservationId() { - if (reservationIdBuilder_ == null) { - return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + public int getArtifactsCount() { + if (artifactsBuilder_ == null) { + return artifacts_.size(); } else { - return reservationIdBuilder_.getMessage(); + return artifactsBuilder_.getCount(); } } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder setReservationId(datacatalog.Datacatalog.ReservationID value) { - if (reservationIdBuilder_ == null) { + public datacatalog.Datacatalog.DeleteArtifactRequest getArtifacts(int index) { + if (artifactsBuilder_ == null) { + return artifacts_.get(index); + } else { + return artifactsBuilder_.getMessage(index); + } + } + /** + *
+       * List of deletion requests for artifacts to remove
+       * 
+ * + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; + */ + public Builder setArtifacts( + int index, datacatalog.Datacatalog.DeleteArtifactRequest value) { + if (artifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - reservationId_ = value; + ensureArtifactsIsMutable(); + artifacts_.set(index, value); onChanged(); } else { - reservationIdBuilder_.setMessage(value); + artifactsBuilder_.setMessage(index, value); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder setReservationId( - datacatalog.Datacatalog.ReservationID.Builder builderForValue) { - if (reservationIdBuilder_ == null) { - reservationId_ = builderForValue.build(); + public Builder setArtifacts( + int index, datacatalog.Datacatalog.DeleteArtifactRequest.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.set(index, builderForValue.build()); onChanged(); } else { - reservationIdBuilder_.setMessage(builderForValue.build()); + artifactsBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder mergeReservationId(datacatalog.Datacatalog.ReservationID value) { - if (reservationIdBuilder_ == null) { - if (reservationId_ != null) { - reservationId_ = - datacatalog.Datacatalog.ReservationID.newBuilder(reservationId_).mergeFrom(value).buildPartial(); - } else { - reservationId_ = value; + public Builder addArtifacts(datacatalog.Datacatalog.DeleteArtifactRequest value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureArtifactsIsMutable(); + artifacts_.add(value); onChanged(); } else { - reservationIdBuilder_.mergeFrom(value); + artifactsBuilder_.addMessage(value); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder clearReservationId() { - if (reservationIdBuilder_ == null) { - reservationId_ = null; + public Builder addArtifacts( + int index, datacatalog.Datacatalog.DeleteArtifactRequest value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactsIsMutable(); + artifacts_.add(index, value); onChanged(); } else { - reservationId_ = null; - reservationIdBuilder_ = null; + artifactsBuilder_.addMessage(index, value); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public datacatalog.Datacatalog.ReservationID.Builder getReservationIdBuilder() { - - onChanged(); - return getReservationIdFieldBuilder().getBuilder(); + public Builder addArtifacts( + datacatalog.Datacatalog.DeleteArtifactRequest.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.add(builderForValue.build()); + onChanged(); + } else { + artifactsBuilder_.addMessage(builderForValue.build()); + } + return this; } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { - if (reservationIdBuilder_ != null) { - return reservationIdBuilder_.getMessageOrBuilder(); + public Builder addArtifacts( + int index, datacatalog.Datacatalog.DeleteArtifactRequest.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.add(index, builderForValue.build()); + onChanged(); } else { - return reservationId_ == null ? - datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + artifactsBuilder_.addMessage(index, builderForValue.build()); } + return this; } /** *
-       * The unique ID for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> - getReservationIdFieldBuilder() { - if (reservationIdBuilder_ == null) { - reservationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder>( - getReservationId(), - getParentForChildren(), - isClean()); - reservationId_ = null; + public Builder addAllArtifacts( + java.lang.Iterable values) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifacts_); + onChanged(); + } else { + artifactsBuilder_.addAllMessages(values); } - return reservationIdBuilder_; + return this; } - - private java.lang.Object ownerId_ = ""; /** *
-       * The unique ID of the owner for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public java.lang.String getOwnerId() { - java.lang.Object ref = ownerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ownerId_ = s; - return s; + public Builder clearArtifacts() { + if (artifactsBuilder_ == null) { + artifacts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); } else { - return (java.lang.String) ref; + artifactsBuilder_.clear(); } + return this; } /** *
-       * The unique ID of the owner for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public com.google.protobuf.ByteString - getOwnerIdBytes() { - java.lang.Object ref = ownerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerId_ = b; - return b; + public Builder removeArtifacts(int index) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.remove(index); + onChanged(); } else { - return (com.google.protobuf.ByteString) ref; + artifactsBuilder_.remove(index); } + return this; } /** *
-       * The unique ID of the owner for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder setOwnerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - ownerId_ = value; - onChanged(); - return this; + public datacatalog.Datacatalog.DeleteArtifactRequest.Builder getArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().getBuilder(index); } /** *
-       * The unique ID of the owner for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder clearOwnerId() { - - ownerId_ = getDefaultInstance().getOwnerId(); - onChanged(); - return this; + public datacatalog.Datacatalog.DeleteArtifactRequestOrBuilder getArtifactsOrBuilder( + int index) { + if (artifactsBuilder_ == null) { + return artifacts_.get(index); } else { + return artifactsBuilder_.getMessageOrBuilder(index); + } } /** *
-       * The unique ID of the owner for the reservation
+       * List of deletion requests for artifacts to remove
        * 
* - * string owner_id = 2; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder setOwnerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - ownerId_ = value; - onChanged(); - return this; + public java.util.List + getArtifactsOrBuilderList() { + if (artifactsBuilder_ != null) { + return artifactsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifacts_); + } } - - private com.google.protobuf.Duration heartbeatInterval_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatIntervalBuilder_; /** *
-       * Requested reservation extension heartbeat interval
+       * List of deletion requests for artifacts to remove
        * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public boolean hasHeartbeatInterval() { - return heartbeatIntervalBuilder_ != null || heartbeatInterval_ != null; + public datacatalog.Datacatalog.DeleteArtifactRequest.Builder addArtifactsBuilder() { + return getArtifactsFieldBuilder().addBuilder( + datacatalog.Datacatalog.DeleteArtifactRequest.getDefaultInstance()); } /** *
-       * Requested reservation extension heartbeat interval
+       * List of deletion requests for artifacts to remove
        * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public com.google.protobuf.Duration getHeartbeatInterval() { - if (heartbeatIntervalBuilder_ == null) { - return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; - } else { - return heartbeatIntervalBuilder_.getMessage(); - } + public datacatalog.Datacatalog.DeleteArtifactRequest.Builder addArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().addBuilder( + index, datacatalog.Datacatalog.DeleteArtifactRequest.getDefaultInstance()); } /** *
-       * Requested reservation extension heartbeat interval
+       * List of deletion requests for artifacts to remove
        * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.DeleteArtifactRequest artifacts = 1; */ - public Builder setHeartbeatInterval(com.google.protobuf.Duration value) { - if (heartbeatIntervalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - heartbeatInterval_ = value; - onChanged(); - } else { - heartbeatIntervalBuilder_.setMessage(value); + public java.util.List + getArtifactsBuilderList() { + return getArtifactsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.DeleteArtifactRequest, datacatalog.Datacatalog.DeleteArtifactRequest.Builder, datacatalog.Datacatalog.DeleteArtifactRequestOrBuilder> + getArtifactsFieldBuilder() { + if (artifactsBuilder_ == null) { + artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.DeleteArtifactRequest, datacatalog.Datacatalog.DeleteArtifactRequest.Builder, datacatalog.Datacatalog.DeleteArtifactRequestOrBuilder>( + artifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + artifacts_ = null; } - - return this; - } - /** - *
-       * Requested reservation extension heartbeat interval
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public Builder setHeartbeatInterval( - com.google.protobuf.Duration.Builder builderForValue) { - if (heartbeatIntervalBuilder_ == null) { - heartbeatInterval_ = builderForValue.build(); - onChanged(); - } else { - heartbeatIntervalBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Requested reservation extension heartbeat interval
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public Builder mergeHeartbeatInterval(com.google.protobuf.Duration value) { - if (heartbeatIntervalBuilder_ == null) { - if (heartbeatInterval_ != null) { - heartbeatInterval_ = - com.google.protobuf.Duration.newBuilder(heartbeatInterval_).mergeFrom(value).buildPartial(); - } else { - heartbeatInterval_ = value; - } - onChanged(); - } else { - heartbeatIntervalBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Requested reservation extension heartbeat interval
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public Builder clearHeartbeatInterval() { - if (heartbeatIntervalBuilder_ == null) { - heartbeatInterval_ = null; - onChanged(); - } else { - heartbeatInterval_ = null; - heartbeatIntervalBuilder_ = null; - } - - return this; - } - /** - *
-       * Requested reservation extension heartbeat interval
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public com.google.protobuf.Duration.Builder getHeartbeatIntervalBuilder() { - - onChanged(); - return getHeartbeatIntervalFieldBuilder().getBuilder(); - } - /** - *
-       * Requested reservation extension heartbeat interval
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { - if (heartbeatIntervalBuilder_ != null) { - return heartbeatIntervalBuilder_.getMessageOrBuilder(); - } else { - return heartbeatInterval_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; - } - } - /** - *
-       * Requested reservation extension heartbeat interval
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getHeartbeatIntervalFieldBuilder() { - if (heartbeatIntervalBuilder_ == null) { - heartbeatIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getHeartbeatInterval(), - getParentForChildren(), - isClean()); - heartbeatInterval_ = null; - } - return heartbeatIntervalBuilder_; + return artifactsBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -14322,186 +14345,67 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datacatalog.GetOrExtendReservationRequest) + // @@protoc_insertion_point(builder_scope:datacatalog.DeleteArtifactsRequest) } - // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationRequest) - private static final datacatalog.Datacatalog.GetOrExtendReservationRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datacatalog.DeleteArtifactsRequest) + private static final datacatalog.Datacatalog.DeleteArtifactsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetOrExtendReservationRequest(); + DEFAULT_INSTANCE = new datacatalog.Datacatalog.DeleteArtifactsRequest(); } - public static datacatalog.Datacatalog.GetOrExtendReservationRequest getDefaultInstance() { + public static datacatalog.Datacatalog.DeleteArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public GetOrExtendReservationRequest parsePartialFrom( + public DeleteArtifactsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOrExtendReservationRequest(input, extensionRegistry); + return new DeleteArtifactsRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationRequest getDefaultInstanceForType() { + public datacatalog.Datacatalog.DeleteArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ReservationOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.Reservation) + public interface DeleteArtifactResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.DeleteArtifactResponse) com.google.protobuf.MessageOrBuilder { - - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - boolean hasReservationId(); - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - datacatalog.Datacatalog.ReservationID getReservationId(); - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder(); - - /** - *
-     * The unique ID of the owner for the reservation
-     * 
- * - * string owner_id = 2; - */ - java.lang.String getOwnerId(); - /** - *
-     * The unique ID of the owner for the reservation
-     * 
- * - * string owner_id = 2; - */ - com.google.protobuf.ByteString - getOwnerIdBytes(); - - /** - *
-     * Recommended heartbeat interval to extend reservation
-     * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - boolean hasHeartbeatInterval(); - /** - *
-     * Recommended heartbeat interval to extend reservation
-     * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - com.google.protobuf.Duration getHeartbeatInterval(); - /** - *
-     * Recommended heartbeat interval to extend reservation
-     * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder(); - - /** - *
-     * Expiration timestamp of this reservation
-     * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - boolean hasExpiresAt(); - /** - *
-     * Expiration timestamp of this reservation
-     * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - com.google.protobuf.Timestamp getExpiresAt(); - /** - *
-     * Expiration timestamp of this reservation
-     * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); - - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 6; - */ - boolean hasMetadata(); - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 6; - */ - datacatalog.Datacatalog.Metadata getMetadata(); - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 6; - */ - datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder(); } /** *
-   * A reservation including owner, heartbeat interval, expiration timestamp, and various metadata.
+   * Response message for deleting an Artifact.
    * 
* - * Protobuf type {@code datacatalog.Reservation} + * Protobuf type {@code datacatalog.DeleteArtifactResponse} */ - public static final class Reservation extends + public static final class DeleteArtifactResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.Reservation) - ReservationOrBuilder { + // @@protoc_insertion_point(message_implements:datacatalog.DeleteArtifactResponse) + DeleteArtifactResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use Reservation.newBuilder() to construct. - private Reservation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeleteArtifactResponse.newBuilder() to construct. + private DeleteArtifactResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Reservation() { - ownerId_ = ""; + private DeleteArtifactResponse() { } @java.lang.Override @@ -14509,7 +14413,7 @@ private Reservation() { getUnknownFields() { return this.unknownFields; } - private Reservation( + private DeleteArtifactResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14517,7 +14421,6 @@ private Reservation( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -14528,68 +14431,10 @@ private Reservation( case 0: done = true; break; - case 10: { - datacatalog.Datacatalog.ReservationID.Builder subBuilder = null; - if (reservationId_ != null) { - subBuilder = reservationId_.toBuilder(); - } - reservationId_ = input.readMessage(datacatalog.Datacatalog.ReservationID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reservationId_); - reservationId_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - ownerId_ = s; - break; - } - case 26: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (heartbeatInterval_ != null) { - subBuilder = heartbeatInterval_.toBuilder(); - } - heartbeatInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(heartbeatInterval_); - heartbeatInterval_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expiresAt_ != null) { - subBuilder = expiresAt_.toBuilder(); - } - expiresAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expiresAt_); - expiresAt_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - datacatalog.Datacatalog.Metadata.Builder subBuilder = null; - if (metadata_ != null) { - subBuilder = metadata_.toBuilder(); - } - metadata_ = input.readMessage(datacatalog.Datacatalog.Metadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(metadata_); - metadata_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -14607,189 +14452,15 @@ private Reservation( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Reservation.class, datacatalog.Datacatalog.Reservation.Builder.class); - } - - public static final int RESERVATION_ID_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.ReservationID reservationId_; - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public boolean hasReservationId() { - return reservationId_ != null; - } - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public datacatalog.Datacatalog.ReservationID getReservationId() { - return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; - } - /** - *
-     * The unique ID for the reservation
-     * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { - return getReservationId(); - } - - public static final int OWNER_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object ownerId_; - /** - *
-     * The unique ID of the owner for the reservation
-     * 
- * - * string owner_id = 2; - */ - public java.lang.String getOwnerId() { - java.lang.Object ref = ownerId_; - 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(); - ownerId_ = s; - return s; - } - } - /** - *
-     * The unique ID of the owner for the reservation
-     * 
- * - * string owner_id = 2; - */ - public com.google.protobuf.ByteString - getOwnerIdBytes() { - java.lang.Object ref = ownerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int HEARTBEAT_INTERVAL_FIELD_NUMBER = 3; - private com.google.protobuf.Duration heartbeatInterval_; - /** - *
-     * Recommended heartbeat interval to extend reservation
-     * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public boolean hasHeartbeatInterval() { - return heartbeatInterval_ != null; - } - /** - *
-     * Recommended heartbeat interval to extend reservation
-     * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public com.google.protobuf.Duration getHeartbeatInterval() { - return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; - } - /** - *
-     * Recommended heartbeat interval to extend reservation
-     * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { - return getHeartbeatInterval(); - } - - public static final int EXPIRES_AT_FIELD_NUMBER = 4; - private com.google.protobuf.Timestamp expiresAt_; - /** - *
-     * Expiration timestamp of this reservation
-     * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - public boolean hasExpiresAt() { - return expiresAt_ != null; - } - /** - *
-     * Expiration timestamp of this reservation
-     * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - public com.google.protobuf.Timestamp getExpiresAt() { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; - } - /** - *
-     * Expiration timestamp of this reservation
-     * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - return getExpiresAt(); - } - - public static final int METADATA_FIELD_NUMBER = 6; - private datacatalog.Datacatalog.Metadata metadata_; - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 6; - */ - public boolean hasMetadata() { - return metadata_ != null; - } - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 6; - */ - public datacatalog.Datacatalog.Metadata getMetadata() { - return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } - /** - *
-     * Free-form metadata associated with the artifact
-     * 
- * - * .datacatalog.Metadata metadata = 6; - */ - public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { - return getMetadata(); + datacatalog.Datacatalog.DeleteArtifactResponse.class, datacatalog.Datacatalog.DeleteArtifactResponse.Builder.class); } private byte memoizedIsInitialized = -1; @@ -14806,21 +14477,6 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (reservationId_ != null) { - output.writeMessage(1, getReservationId()); - } - if (!getOwnerIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerId_); - } - if (heartbeatInterval_ != null) { - output.writeMessage(3, getHeartbeatInterval()); - } - if (expiresAt_ != null) { - output.writeMessage(4, getExpiresAt()); - } - if (metadata_ != null) { - output.writeMessage(6, getMetadata()); - } unknownFields.writeTo(output); } @@ -14830,25 +14486,6 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (reservationId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReservationId()); - } - if (!getOwnerIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerId_); - } - if (heartbeatInterval_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getHeartbeatInterval()); - } - if (expiresAt_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getExpiresAt()); - } - if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMetadata()); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -14859,33 +14496,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof datacatalog.Datacatalog.Reservation)) { + if (!(obj instanceof datacatalog.Datacatalog.DeleteArtifactResponse)) { return super.equals(obj); } - datacatalog.Datacatalog.Reservation other = (datacatalog.Datacatalog.Reservation) obj; + datacatalog.Datacatalog.DeleteArtifactResponse other = (datacatalog.Datacatalog.DeleteArtifactResponse) obj; - if (hasReservationId() != other.hasReservationId()) return false; - if (hasReservationId()) { - if (!getReservationId() - .equals(other.getReservationId())) return false; - } - if (!getOwnerId() - .equals(other.getOwnerId())) return false; - if (hasHeartbeatInterval() != other.hasHeartbeatInterval()) return false; - if (hasHeartbeatInterval()) { - if (!getHeartbeatInterval() - .equals(other.getHeartbeatInterval())) return false; - } - if (hasExpiresAt() != other.hasExpiresAt()) return false; - if (hasExpiresAt()) { - if (!getExpiresAt() - .equals(other.getExpiresAt())) return false; - } - if (hasMetadata() != other.hasMetadata()) return false; - if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; - } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14897,92 +14512,74 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasReservationId()) { - hash = (37 * hash) + RESERVATION_ID_FIELD_NUMBER; - hash = (53 * hash) + getReservationId().hashCode(); - } - hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; - hash = (53 * hash) + getOwnerId().hashCode(); - if (hasHeartbeatInterval()) { - hash = (37 * hash) + HEARTBEAT_INTERVAL_FIELD_NUMBER; - hash = (53 * hash) + getHeartbeatInterval().hashCode(); - } - if (hasExpiresAt()) { - hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; - hash = (53 * hash) + getExpiresAt().hashCode(); - } - if (hasMetadata()) { - hash = (37 * hash) + METADATA_FIELD_NUMBER; - hash = (53 * hash) + getMetadata().hashCode(); - } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.Reservation parseFrom(byte[] data) + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.Reservation parseFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse 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 datacatalog.Datacatalog.Reservation parseDelimitedFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.DeleteArtifactResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.Reservation parseDelimitedFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse 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 datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.Reservation parseFrom( + public static datacatalog.Datacatalog.DeleteArtifactResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14995,7 +14592,7 @@ public static datacatalog.Datacatalog.Reservation parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(datacatalog.Datacatalog.Reservation prototype) { + public static Builder newBuilder(datacatalog.Datacatalog.DeleteArtifactResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -15012,29 +14609,29 @@ protected Builder newBuilderForType( } /** *
-     * A reservation including owner, heartbeat interval, expiration timestamp, and various metadata.
+     * Response message for deleting an Artifact.
      * 
* - * Protobuf type {@code datacatalog.Reservation} + * Protobuf type {@code datacatalog.DeleteArtifactResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.Reservation) - datacatalog.Datacatalog.ReservationOrBuilder { + // @@protoc_insertion_point(builder_implements:datacatalog.DeleteArtifactResponse) + datacatalog.Datacatalog.DeleteArtifactResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.Reservation.class, datacatalog.Datacatalog.Reservation.Builder.class); + datacatalog.Datacatalog.DeleteArtifactResponse.class, datacatalog.Datacatalog.DeleteArtifactResponse.Builder.class); } - // Construct using datacatalog.Datacatalog.Reservation.newBuilder() + // Construct using datacatalog.Datacatalog.DeleteArtifactResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -15052,49 +14649,23 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - if (reservationIdBuilder_ == null) { - reservationId_ = null; - } else { - reservationId_ = null; - reservationIdBuilder_ = null; - } - ownerId_ = ""; - - if (heartbeatIntervalBuilder_ == null) { - heartbeatInterval_ = null; - } else { - heartbeatInterval_ = null; - heartbeatIntervalBuilder_ = null; - } - if (expiresAtBuilder_ == null) { - expiresAt_ = null; - } else { - expiresAt_ = null; - expiresAtBuilder_ = null; - } - if (metadataBuilder_ == null) { - metadata_ = null; - } else { - metadata_ = null; - metadataBuilder_ = null; - } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_DeleteArtifactResponse_descriptor; } @java.lang.Override - public datacatalog.Datacatalog.Reservation getDefaultInstanceForType() { - return datacatalog.Datacatalog.Reservation.getDefaultInstance(); + public datacatalog.Datacatalog.DeleteArtifactResponse getDefaultInstanceForType() { + return datacatalog.Datacatalog.DeleteArtifactResponse.getDefaultInstance(); } @java.lang.Override - public datacatalog.Datacatalog.Reservation build() { - datacatalog.Datacatalog.Reservation result = buildPartial(); + public datacatalog.Datacatalog.DeleteArtifactResponse build() { + datacatalog.Datacatalog.DeleteArtifactResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -15102,29 +14673,8 @@ public datacatalog.Datacatalog.Reservation build() { } @java.lang.Override - public datacatalog.Datacatalog.Reservation buildPartial() { - datacatalog.Datacatalog.Reservation result = new datacatalog.Datacatalog.Reservation(this); - if (reservationIdBuilder_ == null) { - result.reservationId_ = reservationId_; - } else { - result.reservationId_ = reservationIdBuilder_.build(); - } - result.ownerId_ = ownerId_; - if (heartbeatIntervalBuilder_ == null) { - result.heartbeatInterval_ = heartbeatInterval_; - } else { - result.heartbeatInterval_ = heartbeatIntervalBuilder_.build(); - } - if (expiresAtBuilder_ == null) { - result.expiresAt_ = expiresAt_; - } else { - result.expiresAt_ = expiresAtBuilder_.build(); - } - if (metadataBuilder_ == null) { - result.metadata_ = metadata_; - } else { - result.metadata_ = metadataBuilder_.build(); - } + public datacatalog.Datacatalog.DeleteArtifactResponse buildPartial() { + datacatalog.Datacatalog.DeleteArtifactResponse result = new datacatalog.Datacatalog.DeleteArtifactResponse(this); onBuilt(); return result; } @@ -15163,32 +14713,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.Reservation) { - return mergeFrom((datacatalog.Datacatalog.Reservation)other); + if (other instanceof datacatalog.Datacatalog.DeleteArtifactResponse) { + return mergeFrom((datacatalog.Datacatalog.DeleteArtifactResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(datacatalog.Datacatalog.Reservation other) { - if (other == datacatalog.Datacatalog.Reservation.getDefaultInstance()) return this; - if (other.hasReservationId()) { - mergeReservationId(other.getReservationId()); - } - if (!other.getOwnerId().isEmpty()) { - ownerId_ = other.ownerId_; - onChanged(); - } - if (other.hasHeartbeatInterval()) { - mergeHeartbeatInterval(other.getHeartbeatInterval()); - } - if (other.hasExpiresAt()) { - mergeExpiresAt(other.getExpiresAt()); - } - if (other.hasMetadata()) { - mergeMetadata(other.getMetadata()); - } + public Builder mergeFrom(datacatalog.Datacatalog.DeleteArtifactResponse other) { + if (other == datacatalog.Datacatalog.DeleteArtifactResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -15204,11 +14738,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - datacatalog.Datacatalog.Reservation parsedMessage = null; + datacatalog.Datacatalog.DeleteArtifactResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.Reservation) e.getUnfinishedMessage(); + parsedMessage = (datacatalog.Datacatalog.DeleteArtifactResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15217,706 +14751,6038 @@ public Builder mergeFrom( } return this; } - - private datacatalog.Datacatalog.ReservationID reservationId_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> reservationIdBuilder_; - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public boolean hasReservationId() { - return reservationIdBuilder_ != null || reservationId_ != null; - } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public datacatalog.Datacatalog.ReservationID getReservationId() { - if (reservationIdBuilder_ == null) { - return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; - } else { - return reservationIdBuilder_.getMessage(); - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public Builder setReservationId(datacatalog.Datacatalog.ReservationID value) { - if (reservationIdBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - reservationId_ = value; - onChanged(); - } else { - reservationIdBuilder_.setMessage(value); - } - return this; + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public Builder setReservationId( - datacatalog.Datacatalog.ReservationID.Builder builderForValue) { - if (reservationIdBuilder_ == null) { - reservationId_ = builderForValue.build(); - onChanged(); - } else { - reservationIdBuilder_.setMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public Builder mergeReservationId(datacatalog.Datacatalog.ReservationID value) { - if (reservationIdBuilder_ == null) { - if (reservationId_ != null) { - reservationId_ = - datacatalog.Datacatalog.ReservationID.newBuilder(reservationId_).mergeFrom(value).buildPartial(); - } else { - reservationId_ = value; - } - onChanged(); - } else { - reservationIdBuilder_.mergeFrom(value); - } - return this; - } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public Builder clearReservationId() { - if (reservationIdBuilder_ == null) { - reservationId_ = null; - onChanged(); - } else { - reservationId_ = null; - reservationIdBuilder_ = null; - } + // @@protoc_insertion_point(builder_scope:datacatalog.DeleteArtifactResponse) + } - return this; + // @@protoc_insertion_point(class_scope:datacatalog.DeleteArtifactResponse) + private static final datacatalog.Datacatalog.DeleteArtifactResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new datacatalog.Datacatalog.DeleteArtifactResponse(); + } + + public static datacatalog.Datacatalog.DeleteArtifactResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteArtifactResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteArtifactResponse(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 datacatalog.Datacatalog.DeleteArtifactResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReservationIDOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.ReservationID) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The unique ID for the reserved dataset
+     * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + boolean hasDatasetId(); + /** + *
+     * The unique ID for the reserved dataset
+     * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + datacatalog.Datacatalog.DatasetID getDatasetId(); + /** + *
+     * The unique ID for the reserved dataset
+     * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetIdOrBuilder(); + + /** + *
+     * The specific artifact tag for the reservation
+     * 
+ * + * string tag_name = 2; + */ + java.lang.String getTagName(); + /** + *
+     * The specific artifact tag for the reservation
+     * 
+ * + * string tag_name = 2; + */ + com.google.protobuf.ByteString + getTagNameBytes(); + } + /** + *
+   * ReservationID message that is composed of several string fields.
+   * 
+ * + * Protobuf type {@code datacatalog.ReservationID} + */ + public static final class ReservationID extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datacatalog.ReservationID) + ReservationIDOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReservationID.newBuilder() to construct. + private ReservationID(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReservationID() { + tagName_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReservationID( + 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: { + datacatalog.Datacatalog.DatasetID.Builder subBuilder = null; + if (datasetId_ != null) { + subBuilder = datasetId_.toBuilder(); + } + datasetId_ = input.readMessage(datacatalog.Datacatalog.DatasetID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(datasetId_); + datasetId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + tagName_ = 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 datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.ReservationID.class, datacatalog.Datacatalog.ReservationID.Builder.class); + } + + public static final int DATASET_ID_FIELD_NUMBER = 1; + private datacatalog.Datacatalog.DatasetID datasetId_; + /** + *
+     * The unique ID for the reserved dataset
+     * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public boolean hasDatasetId() { + return datasetId_ != null; + } + /** + *
+     * The unique ID for the reserved dataset
+     * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public datacatalog.Datacatalog.DatasetID getDatasetId() { + return datasetId_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : datasetId_; + } + /** + *
+     * The unique ID for the reserved dataset
+     * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetIdOrBuilder() { + return getDatasetId(); + } + + public static final int TAG_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object tagName_; + /** + *
+     * The specific artifact tag for the reservation
+     * 
+ * + * string tag_name = 2; + */ + public java.lang.String getTagName() { + java.lang.Object ref = tagName_; + 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(); + tagName_ = s; + return s; + } + } + /** + *
+     * The specific artifact tag for the reservation
+     * 
+ * + * string tag_name = 2; + */ + public com.google.protobuf.ByteString + getTagNameBytes() { + java.lang.Object ref = tagName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tagName_ = 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 (datasetId_ != null) { + output.writeMessage(1, getDatasetId()); + } + if (!getTagNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tagName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (datasetId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDatasetId()); + } + if (!getTagNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagName_); + } + 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 datacatalog.Datacatalog.ReservationID)) { + return super.equals(obj); + } + datacatalog.Datacatalog.ReservationID other = (datacatalog.Datacatalog.ReservationID) obj; + + if (hasDatasetId() != other.hasDatasetId()) return false; + if (hasDatasetId()) { + if (!getDatasetId() + .equals(other.getDatasetId())) return false; + } + if (!getTagName() + .equals(other.getTagName())) 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 (hasDatasetId()) { + hash = (37 * hash) + DATASET_ID_FIELD_NUMBER; + hash = (53 * hash) + getDatasetId().hashCode(); + } + hash = (37 * hash) + TAG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTagName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static datacatalog.Datacatalog.ReservationID parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.ReservationID parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.ReservationID parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.ReservationID parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.ReservationID parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.ReservationID parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.ReservationID parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.ReservationID 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 datacatalog.Datacatalog.ReservationID parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.ReservationID 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 datacatalog.Datacatalog.ReservationID parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.ReservationID 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(datacatalog.Datacatalog.ReservationID 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; + } + /** + *
+     * ReservationID message that is composed of several string fields.
+     * 
+ * + * Protobuf type {@code datacatalog.ReservationID} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datacatalog.ReservationID) + datacatalog.Datacatalog.ReservationIDOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.ReservationID.class, datacatalog.Datacatalog.ReservationID.Builder.class); + } + + // Construct using datacatalog.Datacatalog.ReservationID.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 (datasetIdBuilder_ == null) { + datasetId_ = null; + } else { + datasetId_ = null; + datasetIdBuilder_ = null; + } + tagName_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return datacatalog.Datacatalog.internal_static_datacatalog_ReservationID_descriptor; + } + + @java.lang.Override + public datacatalog.Datacatalog.ReservationID getDefaultInstanceForType() { + return datacatalog.Datacatalog.ReservationID.getDefaultInstance(); + } + + @java.lang.Override + public datacatalog.Datacatalog.ReservationID build() { + datacatalog.Datacatalog.ReservationID result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public datacatalog.Datacatalog.ReservationID buildPartial() { + datacatalog.Datacatalog.ReservationID result = new datacatalog.Datacatalog.ReservationID(this); + if (datasetIdBuilder_ == null) { + result.datasetId_ = datasetId_; + } else { + result.datasetId_ = datasetIdBuilder_.build(); + } + result.tagName_ = tagName_; + 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 datacatalog.Datacatalog.ReservationID) { + return mergeFrom((datacatalog.Datacatalog.ReservationID)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(datacatalog.Datacatalog.ReservationID other) { + if (other == datacatalog.Datacatalog.ReservationID.getDefaultInstance()) return this; + if (other.hasDatasetId()) { + mergeDatasetId(other.getDatasetId()); + } + if (!other.getTagName().isEmpty()) { + tagName_ = other.tagName_; + 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 { + datacatalog.Datacatalog.ReservationID parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (datacatalog.Datacatalog.ReservationID) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private datacatalog.Datacatalog.DatasetID datasetId_; + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> datasetIdBuilder_; + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public boolean hasDatasetId() { + return datasetIdBuilder_ != null || datasetId_ != null; + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public datacatalog.Datacatalog.DatasetID getDatasetId() { + if (datasetIdBuilder_ == null) { + return datasetId_ == null ? datacatalog.Datacatalog.DatasetID.getDefaultInstance() : datasetId_; + } else { + return datasetIdBuilder_.getMessage(); + } + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public Builder setDatasetId(datacatalog.Datacatalog.DatasetID value) { + if (datasetIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + datasetId_ = value; + onChanged(); + } else { + datasetIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public Builder setDatasetId( + datacatalog.Datacatalog.DatasetID.Builder builderForValue) { + if (datasetIdBuilder_ == null) { + datasetId_ = builderForValue.build(); + onChanged(); + } else { + datasetIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public Builder mergeDatasetId(datacatalog.Datacatalog.DatasetID value) { + if (datasetIdBuilder_ == null) { + if (datasetId_ != null) { + datasetId_ = + datacatalog.Datacatalog.DatasetID.newBuilder(datasetId_).mergeFrom(value).buildPartial(); + } else { + datasetId_ = value; + } + onChanged(); + } else { + datasetIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public Builder clearDatasetId() { + if (datasetIdBuilder_ == null) { + datasetId_ = null; + onChanged(); + } else { + datasetId_ = null; + datasetIdBuilder_ = null; + } + + return this; + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public datacatalog.Datacatalog.DatasetID.Builder getDatasetIdBuilder() { + + onChanged(); + return getDatasetIdFieldBuilder().getBuilder(); + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + public datacatalog.Datacatalog.DatasetIDOrBuilder getDatasetIdOrBuilder() { + if (datasetIdBuilder_ != null) { + return datasetIdBuilder_.getMessageOrBuilder(); + } else { + return datasetId_ == null ? + datacatalog.Datacatalog.DatasetID.getDefaultInstance() : datasetId_; + } + } + /** + *
+       * The unique ID for the reserved dataset
+       * 
+ * + * .datacatalog.DatasetID dataset_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder> + getDatasetIdFieldBuilder() { + if (datasetIdBuilder_ == null) { + datasetIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.DatasetID, datacatalog.Datacatalog.DatasetID.Builder, datacatalog.Datacatalog.DatasetIDOrBuilder>( + getDatasetId(), + getParentForChildren(), + isClean()); + datasetId_ = null; + } + return datasetIdBuilder_; + } + + private java.lang.Object tagName_ = ""; + /** + *
+       * The specific artifact tag for the reservation
+       * 
+ * + * string tag_name = 2; + */ + public java.lang.String getTagName() { + java.lang.Object ref = tagName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tagName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The specific artifact tag for the reservation
+       * 
+ * + * string tag_name = 2; + */ + public com.google.protobuf.ByteString + getTagNameBytes() { + java.lang.Object ref = tagName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tagName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The specific artifact tag for the reservation
+       * 
+ * + * string tag_name = 2; + */ + public Builder setTagName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + tagName_ = value; + onChanged(); + return this; + } + /** + *
+       * The specific artifact tag for the reservation
+       * 
+ * + * string tag_name = 2; + */ + public Builder clearTagName() { + + tagName_ = getDefaultInstance().getTagName(); + onChanged(); + return this; + } + /** + *
+       * The specific artifact tag for the reservation
+       * 
+ * + * string tag_name = 2; + */ + public Builder setTagNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + tagName_ = 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:datacatalog.ReservationID) + } + + // @@protoc_insertion_point(class_scope:datacatalog.ReservationID) + private static final datacatalog.Datacatalog.ReservationID DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new datacatalog.Datacatalog.ReservationID(); + } + + public static datacatalog.Datacatalog.ReservationID getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReservationID parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReservationID(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 datacatalog.Datacatalog.ReservationID getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetOrExtendReservationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.GetOrExtendReservationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + boolean hasReservationId(); + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + datacatalog.Datacatalog.ReservationID getReservationId(); + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder(); + + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + java.lang.String getOwnerId(); + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + com.google.protobuf.ByteString + getOwnerIdBytes(); + + /** + *
+     * Requested reservation extension heartbeat interval
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + boolean hasHeartbeatInterval(); + /** + *
+     * Requested reservation extension heartbeat interval
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + com.google.protobuf.Duration getHeartbeatInterval(); + /** + *
+     * Requested reservation extension heartbeat interval
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder(); + } + /** + *
+   * Try to acquire or extend an artifact reservation. If an active reservation exists, retrieve that instance.
+   * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationRequest} + */ + public static final class GetOrExtendReservationRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datacatalog.GetOrExtendReservationRequest) + GetOrExtendReservationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetOrExtendReservationRequest.newBuilder() to construct. + private GetOrExtendReservationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetOrExtendReservationRequest() { + ownerId_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetOrExtendReservationRequest( + 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: { + datacatalog.Datacatalog.ReservationID.Builder subBuilder = null; + if (reservationId_ != null) { + subBuilder = reservationId_.toBuilder(); + } + reservationId_ = input.readMessage(datacatalog.Datacatalog.ReservationID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reservationId_); + reservationId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + ownerId_ = s; + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (heartbeatInterval_ != null) { + subBuilder = heartbeatInterval_.toBuilder(); + } + heartbeatInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(heartbeatInterval_); + heartbeatInterval_ = 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 datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationRequest.class, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder.class); + } + + public static final int RESERVATION_ID_FIELD_NUMBER = 1; + private datacatalog.Datacatalog.ReservationID reservationId_; + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public boolean hasReservationId() { + return reservationId_ != null; + } + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationID getReservationId() { + return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + } + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { + return getReservationId(); + } + + public static final int OWNER_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object ownerId_; + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + public java.lang.String getOwnerId() { + java.lang.Object ref = ownerId_; + 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(); + ownerId_ = s; + return s; + } + } + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + public com.google.protobuf.ByteString + getOwnerIdBytes() { + java.lang.Object ref = ownerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HEARTBEAT_INTERVAL_FIELD_NUMBER = 3; + private com.google.protobuf.Duration heartbeatInterval_; + /** + *
+     * Requested reservation extension heartbeat interval
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public boolean hasHeartbeatInterval() { + return heartbeatInterval_ != null; + } + /** + *
+     * Requested reservation extension heartbeat interval
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.Duration getHeartbeatInterval() { + return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + } + /** + *
+     * Requested reservation extension heartbeat interval
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { + return getHeartbeatInterval(); + } + + 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 (reservationId_ != null) { + output.writeMessage(1, getReservationId()); + } + if (!getOwnerIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerId_); + } + if (heartbeatInterval_ != null) { + output.writeMessage(3, getHeartbeatInterval()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (reservationId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReservationId()); + } + if (!getOwnerIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerId_); + } + if (heartbeatInterval_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getHeartbeatInterval()); + } + 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 datacatalog.Datacatalog.GetOrExtendReservationRequest)) { + return super.equals(obj); + } + datacatalog.Datacatalog.GetOrExtendReservationRequest other = (datacatalog.Datacatalog.GetOrExtendReservationRequest) obj; + + if (hasReservationId() != other.hasReservationId()) return false; + if (hasReservationId()) { + if (!getReservationId() + .equals(other.getReservationId())) return false; + } + if (!getOwnerId() + .equals(other.getOwnerId())) return false; + if (hasHeartbeatInterval() != other.hasHeartbeatInterval()) return false; + if (hasHeartbeatInterval()) { + if (!getHeartbeatInterval() + .equals(other.getHeartbeatInterval())) 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 (hasReservationId()) { + hash = (37 * hash) + RESERVATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getReservationId().hashCode(); + } + hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerId().hashCode(); + if (hasHeartbeatInterval()) { + hash = (37 * hash) + HEARTBEAT_INTERVAL_FIELD_NUMBER; + hash = (53 * hash) + getHeartbeatInterval().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest 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 datacatalog.Datacatalog.GetOrExtendReservationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest 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 datacatalog.Datacatalog.GetOrExtendReservationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationRequest 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(datacatalog.Datacatalog.GetOrExtendReservationRequest 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; + } + /** + *
+     * Try to acquire or extend an artifact reservation. If an active reservation exists, retrieve that instance.
+     * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datacatalog.GetOrExtendReservationRequest) + datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationRequest.class, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder.class); + } + + // Construct using datacatalog.Datacatalog.GetOrExtendReservationRequest.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 (reservationIdBuilder_ == null) { + reservationId_ = null; + } else { + reservationId_ = null; + reservationIdBuilder_ = null; + } + ownerId_ = ""; + + if (heartbeatIntervalBuilder_ == null) { + heartbeatInterval_ = null; + } else { + heartbeatInterval_ = null; + heartbeatIntervalBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationRequest_descriptor; + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationRequest getDefaultInstanceForType() { + return datacatalog.Datacatalog.GetOrExtendReservationRequest.getDefaultInstance(); + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationRequest build() { + datacatalog.Datacatalog.GetOrExtendReservationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationRequest buildPartial() { + datacatalog.Datacatalog.GetOrExtendReservationRequest result = new datacatalog.Datacatalog.GetOrExtendReservationRequest(this); + if (reservationIdBuilder_ == null) { + result.reservationId_ = reservationId_; + } else { + result.reservationId_ = reservationIdBuilder_.build(); + } + result.ownerId_ = ownerId_; + if (heartbeatIntervalBuilder_ == null) { + result.heartbeatInterval_ = heartbeatInterval_; + } else { + result.heartbeatInterval_ = heartbeatIntervalBuilder_.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 datacatalog.Datacatalog.GetOrExtendReservationRequest) { + return mergeFrom((datacatalog.Datacatalog.GetOrExtendReservationRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(datacatalog.Datacatalog.GetOrExtendReservationRequest other) { + if (other == datacatalog.Datacatalog.GetOrExtendReservationRequest.getDefaultInstance()) return this; + if (other.hasReservationId()) { + mergeReservationId(other.getReservationId()); + } + if (!other.getOwnerId().isEmpty()) { + ownerId_ = other.ownerId_; + onChanged(); + } + if (other.hasHeartbeatInterval()) { + mergeHeartbeatInterval(other.getHeartbeatInterval()); + } + 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 { + datacatalog.Datacatalog.GetOrExtendReservationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (datacatalog.Datacatalog.GetOrExtendReservationRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private datacatalog.Datacatalog.ReservationID reservationId_; + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> reservationIdBuilder_; + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public boolean hasReservationId() { + return reservationIdBuilder_ != null || reservationId_ != null; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationID getReservationId() { + if (reservationIdBuilder_ == null) { + return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + } else { + return reservationIdBuilder_.getMessage(); + } + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder setReservationId(datacatalog.Datacatalog.ReservationID value) { + if (reservationIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reservationId_ = value; + onChanged(); + } else { + reservationIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder setReservationId( + datacatalog.Datacatalog.ReservationID.Builder builderForValue) { + if (reservationIdBuilder_ == null) { + reservationId_ = builderForValue.build(); + onChanged(); + } else { + reservationIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder mergeReservationId(datacatalog.Datacatalog.ReservationID value) { + if (reservationIdBuilder_ == null) { + if (reservationId_ != null) { + reservationId_ = + datacatalog.Datacatalog.ReservationID.newBuilder(reservationId_).mergeFrom(value).buildPartial(); + } else { + reservationId_ = value; + } + onChanged(); + } else { + reservationIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder clearReservationId() { + if (reservationIdBuilder_ == null) { + reservationId_ = null; + onChanged(); + } else { + reservationId_ = null; + reservationIdBuilder_ = null; + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationID.Builder getReservationIdBuilder() { + + onChanged(); + return getReservationIdFieldBuilder().getBuilder(); + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { + if (reservationIdBuilder_ != null) { + return reservationIdBuilder_.getMessageOrBuilder(); + } else { + return reservationId_ == null ? + datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + } + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> + getReservationIdFieldBuilder() { + if (reservationIdBuilder_ == null) { + reservationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder>( + getReservationId(), + getParentForChildren(), + isClean()); + reservationId_ = null; + } + return reservationIdBuilder_; + } + + private java.lang.Object ownerId_ = ""; + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public java.lang.String getOwnerId() { + java.lang.Object ref = ownerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public com.google.protobuf.ByteString + getOwnerIdBytes() { + java.lang.Object ref = ownerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder setOwnerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + ownerId_ = value; + onChanged(); + return this; + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder clearOwnerId() { + + ownerId_ = getDefaultInstance().getOwnerId(); + onChanged(); + return this; + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder setOwnerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + ownerId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Duration heartbeatInterval_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatIntervalBuilder_; + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public boolean hasHeartbeatInterval() { + return heartbeatIntervalBuilder_ != null || heartbeatInterval_ != null; + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.Duration getHeartbeatInterval() { + if (heartbeatIntervalBuilder_ == null) { + return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + } else { + return heartbeatIntervalBuilder_.getMessage(); + } + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder setHeartbeatInterval(com.google.protobuf.Duration value) { + if (heartbeatIntervalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + heartbeatInterval_ = value; + onChanged(); + } else { + heartbeatIntervalBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder setHeartbeatInterval( + com.google.protobuf.Duration.Builder builderForValue) { + if (heartbeatIntervalBuilder_ == null) { + heartbeatInterval_ = builderForValue.build(); + onChanged(); + } else { + heartbeatIntervalBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder mergeHeartbeatInterval(com.google.protobuf.Duration value) { + if (heartbeatIntervalBuilder_ == null) { + if (heartbeatInterval_ != null) { + heartbeatInterval_ = + com.google.protobuf.Duration.newBuilder(heartbeatInterval_).mergeFrom(value).buildPartial(); + } else { + heartbeatInterval_ = value; + } + onChanged(); + } else { + heartbeatIntervalBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder clearHeartbeatInterval() { + if (heartbeatIntervalBuilder_ == null) { + heartbeatInterval_ = null; + onChanged(); + } else { + heartbeatInterval_ = null; + heartbeatIntervalBuilder_ = null; + } + + return this; + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.Duration.Builder getHeartbeatIntervalBuilder() { + + onChanged(); + return getHeartbeatIntervalFieldBuilder().getBuilder(); + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { + if (heartbeatIntervalBuilder_ != null) { + return heartbeatIntervalBuilder_.getMessageOrBuilder(); + } else { + return heartbeatInterval_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + } + } + /** + *
+       * Requested reservation extension heartbeat interval
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + getHeartbeatIntervalFieldBuilder() { + if (heartbeatIntervalBuilder_ == null) { + heartbeatIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getHeartbeatInterval(), + getParentForChildren(), + isClean()); + heartbeatInterval_ = null; + } + return heartbeatIntervalBuilder_; + } + @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:datacatalog.GetOrExtendReservationRequest) + } + + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationRequest) + private static final datacatalog.Datacatalog.GetOrExtendReservationRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetOrExtendReservationRequest(); + } + + public static datacatalog.Datacatalog.GetOrExtendReservationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOrExtendReservationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOrExtendReservationRequest(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 datacatalog.Datacatalog.GetOrExtendReservationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetOrExtendReservationsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.GetOrExtendReservationsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + java.util.List + getReservationsList(); + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + datacatalog.Datacatalog.GetOrExtendReservationRequest getReservations(int index); + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + int getReservationsCount(); + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + java.util.List + getReservationsOrBuilderList(); + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder getReservationsOrBuilder( + int index); + } + /** + *
+   * Request message for acquiring or extending reservations for multiple artifacts in a single operation.
+   * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationsRequest} + */ + public static final class GetOrExtendReservationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datacatalog.GetOrExtendReservationsRequest) + GetOrExtendReservationsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetOrExtendReservationsRequest.newBuilder() to construct. + private GetOrExtendReservationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetOrExtendReservationsRequest() { + reservations_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetOrExtendReservationsRequest( + 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)) { + reservations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + reservations_.add( + input.readMessage(datacatalog.Datacatalog.GetOrExtendReservationRequest.parser(), extensionRegistry)); + 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)) { + reservations_ = java.util.Collections.unmodifiableList(reservations_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationsRequest.class, datacatalog.Datacatalog.GetOrExtendReservationsRequest.Builder.class); + } + + public static final int RESERVATIONS_FIELD_NUMBER = 1; + private java.util.List reservations_; + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public java.util.List getReservationsList() { + return reservations_; + } + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public java.util.List + getReservationsOrBuilderList() { + return reservations_; + } + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public int getReservationsCount() { + return reservations_.size(); + } + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.GetOrExtendReservationRequest getReservations(int index) { + return reservations_.get(index); + } + /** + *
+     * List of reservation requests for artifacts to acquire
+     * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder getReservationsOrBuilder( + int index) { + return reservations_.get(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 < reservations_.size(); i++) { + output.writeMessage(1, reservations_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < reservations_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, reservations_.get(i)); + } + 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 datacatalog.Datacatalog.GetOrExtendReservationsRequest)) { + return super.equals(obj); + } + datacatalog.Datacatalog.GetOrExtendReservationsRequest other = (datacatalog.Datacatalog.GetOrExtendReservationsRequest) obj; + + if (!getReservationsList() + .equals(other.getReservationsList())) 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 (getReservationsCount() > 0) { + hash = (37 * hash) + RESERVATIONS_FIELD_NUMBER; + hash = (53 * hash) + getReservationsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest 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 datacatalog.Datacatalog.GetOrExtendReservationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest 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 datacatalog.Datacatalog.GetOrExtendReservationsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest 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(datacatalog.Datacatalog.GetOrExtendReservationsRequest 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; + } + /** + *
+     * Request message for acquiring or extending reservations for multiple artifacts in a single operation.
+     * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datacatalog.GetOrExtendReservationsRequest) + datacatalog.Datacatalog.GetOrExtendReservationsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationsRequest.class, datacatalog.Datacatalog.GetOrExtendReservationsRequest.Builder.class); + } + + // Construct using datacatalog.Datacatalog.GetOrExtendReservationsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getReservationsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (reservationsBuilder_ == null) { + reservations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + reservationsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsRequest_descriptor; + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationsRequest getDefaultInstanceForType() { + return datacatalog.Datacatalog.GetOrExtendReservationsRequest.getDefaultInstance(); + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationsRequest build() { + datacatalog.Datacatalog.GetOrExtendReservationsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationsRequest buildPartial() { + datacatalog.Datacatalog.GetOrExtendReservationsRequest result = new datacatalog.Datacatalog.GetOrExtendReservationsRequest(this); + int from_bitField0_ = bitField0_; + if (reservationsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + reservations_ = java.util.Collections.unmodifiableList(reservations_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.reservations_ = reservations_; + } else { + result.reservations_ = reservationsBuilder_.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 datacatalog.Datacatalog.GetOrExtendReservationsRequest) { + return mergeFrom((datacatalog.Datacatalog.GetOrExtendReservationsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(datacatalog.Datacatalog.GetOrExtendReservationsRequest other) { + if (other == datacatalog.Datacatalog.GetOrExtendReservationsRequest.getDefaultInstance()) return this; + if (reservationsBuilder_ == null) { + if (!other.reservations_.isEmpty()) { + if (reservations_.isEmpty()) { + reservations_ = other.reservations_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureReservationsIsMutable(); + reservations_.addAll(other.reservations_); + } + onChanged(); + } + } else { + if (!other.reservations_.isEmpty()) { + if (reservationsBuilder_.isEmpty()) { + reservationsBuilder_.dispose(); + reservationsBuilder_ = null; + reservations_ = other.reservations_; + bitField0_ = (bitField0_ & ~0x00000001); + reservationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReservationsFieldBuilder() : null; + } else { + reservationsBuilder_.addAllMessages(other.reservations_); + } + } + } + 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 { + datacatalog.Datacatalog.GetOrExtendReservationsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (datacatalog.Datacatalog.GetOrExtendReservationsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List reservations_ = + java.util.Collections.emptyList(); + private void ensureReservationsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + reservations_ = new java.util.ArrayList(reservations_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.GetOrExtendReservationRequest, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder, datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder> reservationsBuilder_; + + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public java.util.List getReservationsList() { + if (reservationsBuilder_ == null) { + return java.util.Collections.unmodifiableList(reservations_); + } else { + return reservationsBuilder_.getMessageList(); + } + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public int getReservationsCount() { + if (reservationsBuilder_ == null) { + return reservations_.size(); + } else { + return reservationsBuilder_.getCount(); + } + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.GetOrExtendReservationRequest getReservations(int index) { + if (reservationsBuilder_ == null) { + return reservations_.get(index); + } else { + return reservationsBuilder_.getMessage(index); + } + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder setReservations( + int index, datacatalog.Datacatalog.GetOrExtendReservationRequest value) { + if (reservationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationsIsMutable(); + reservations_.set(index, value); + onChanged(); + } else { + reservationsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder setReservations( + int index, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.set(index, builderForValue.build()); + onChanged(); + } else { + reservationsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder addReservations(datacatalog.Datacatalog.GetOrExtendReservationRequest value) { + if (reservationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationsIsMutable(); + reservations_.add(value); + onChanged(); + } else { + reservationsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder addReservations( + int index, datacatalog.Datacatalog.GetOrExtendReservationRequest value) { + if (reservationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationsIsMutable(); + reservations_.add(index, value); + onChanged(); + } else { + reservationsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder addReservations( + datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.add(builderForValue.build()); + onChanged(); + } else { + reservationsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder addReservations( + int index, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.add(index, builderForValue.build()); + onChanged(); + } else { + reservationsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder addAllReservations( + java.lang.Iterable values) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reservations_); + onChanged(); + } else { + reservationsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder clearReservations() { + if (reservationsBuilder_ == null) { + reservations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + reservationsBuilder_.clear(); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public Builder removeReservations(int index) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.remove(index); + onChanged(); + } else { + reservationsBuilder_.remove(index); + } + return this; + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder getReservationsBuilder( + int index) { + return getReservationsFieldBuilder().getBuilder(index); + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder getReservationsOrBuilder( + int index) { + if (reservationsBuilder_ == null) { + return reservations_.get(index); } else { + return reservationsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public java.util.List + getReservationsOrBuilderList() { + if (reservationsBuilder_ != null) { + return reservationsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(reservations_); + } + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder addReservationsBuilder() { + return getReservationsFieldBuilder().addBuilder( + datacatalog.Datacatalog.GetOrExtendReservationRequest.getDefaultInstance()); + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder addReservationsBuilder( + int index) { + return getReservationsFieldBuilder().addBuilder( + index, datacatalog.Datacatalog.GetOrExtendReservationRequest.getDefaultInstance()); + } + /** + *
+       * List of reservation requests for artifacts to acquire
+       * 
+ * + * repeated .datacatalog.GetOrExtendReservationRequest reservations = 1; + */ + public java.util.List + getReservationsBuilderList() { + return getReservationsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.GetOrExtendReservationRequest, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder, datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder> + getReservationsFieldBuilder() { + if (reservationsBuilder_ == null) { + reservationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.GetOrExtendReservationRequest, datacatalog.Datacatalog.GetOrExtendReservationRequest.Builder, datacatalog.Datacatalog.GetOrExtendReservationRequestOrBuilder>( + reservations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + reservations_ = null; + } + return reservationsBuilder_; + } + @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:datacatalog.GetOrExtendReservationsRequest) + } + + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationsRequest) + private static final datacatalog.Datacatalog.GetOrExtendReservationsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetOrExtendReservationsRequest(); + } + + public static datacatalog.Datacatalog.GetOrExtendReservationsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOrExtendReservationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOrExtendReservationsRequest(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 datacatalog.Datacatalog.GetOrExtendReservationsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ReservationOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.Reservation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + boolean hasReservationId(); + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + datacatalog.Datacatalog.ReservationID getReservationId(); + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder(); + + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + java.lang.String getOwnerId(); + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + com.google.protobuf.ByteString + getOwnerIdBytes(); + + /** + *
+     * Recommended heartbeat interval to extend reservation
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + boolean hasHeartbeatInterval(); + /** + *
+     * Recommended heartbeat interval to extend reservation
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + com.google.protobuf.Duration getHeartbeatInterval(); + /** + *
+     * Recommended heartbeat interval to extend reservation
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder(); + + /** + *
+     * Expiration timestamp of this reservation
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + boolean hasExpiresAt(); + /** + *
+     * Expiration timestamp of this reservation
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + com.google.protobuf.Timestamp getExpiresAt(); + /** + *
+     * Expiration timestamp of this reservation
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder(); + + /** + *
+     * Free-form metadata associated with the artifact
+     * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + boolean hasMetadata(); + /** + *
+     * Free-form metadata associated with the artifact
+     * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + datacatalog.Datacatalog.Metadata getMetadata(); + /** + *
+     * Free-form metadata associated with the artifact
+     * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder(); + } + /** + *
+   * A reservation including owner, heartbeat interval, expiration timestamp, and various metadata.
+   * 
+ * + * Protobuf type {@code datacatalog.Reservation} + */ + public static final class Reservation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datacatalog.Reservation) + ReservationOrBuilder { + private static final long serialVersionUID = 0L; + // Use Reservation.newBuilder() to construct. + private Reservation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Reservation() { + ownerId_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Reservation( + 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: { + datacatalog.Datacatalog.ReservationID.Builder subBuilder = null; + if (reservationId_ != null) { + subBuilder = reservationId_.toBuilder(); + } + reservationId_ = input.readMessage(datacatalog.Datacatalog.ReservationID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reservationId_); + reservationId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + ownerId_ = s; + break; + } + case 26: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (heartbeatInterval_ != null) { + subBuilder = heartbeatInterval_.toBuilder(); + } + heartbeatInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(heartbeatInterval_); + heartbeatInterval_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expiresAt_ != null) { + subBuilder = expiresAt_.toBuilder(); + } + expiresAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expiresAt_); + expiresAt_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + datacatalog.Datacatalog.Metadata.Builder subBuilder = null; + if (metadata_ != null) { + subBuilder = metadata_.toBuilder(); + } + metadata_ = input.readMessage(datacatalog.Datacatalog.Metadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metadata_); + metadata_ = 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 datacatalog.Datacatalog.internal_static_datacatalog_Reservation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.Reservation.class, datacatalog.Datacatalog.Reservation.Builder.class); + } + + public static final int RESERVATION_ID_FIELD_NUMBER = 1; + private datacatalog.Datacatalog.ReservationID reservationId_; + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public boolean hasReservationId() { + return reservationId_ != null; + } + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationID getReservationId() { + return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + } + /** + *
+     * The unique ID for the reservation
+     * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { + return getReservationId(); + } + + public static final int OWNER_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object ownerId_; + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + public java.lang.String getOwnerId() { + java.lang.Object ref = ownerId_; + 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(); + ownerId_ = s; + return s; + } + } + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + public com.google.protobuf.ByteString + getOwnerIdBytes() { + java.lang.Object ref = ownerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HEARTBEAT_INTERVAL_FIELD_NUMBER = 3; + private com.google.protobuf.Duration heartbeatInterval_; + /** + *
+     * Recommended heartbeat interval to extend reservation
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public boolean hasHeartbeatInterval() { + return heartbeatInterval_ != null; + } + /** + *
+     * Recommended heartbeat interval to extend reservation
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.Duration getHeartbeatInterval() { + return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + } + /** + *
+     * Recommended heartbeat interval to extend reservation
+     * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { + return getHeartbeatInterval(); + } + + public static final int EXPIRES_AT_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp expiresAt_; + /** + *
+     * Expiration timestamp of this reservation
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public boolean hasExpiresAt() { + return expiresAt_ != null; + } + /** + *
+     * Expiration timestamp of this reservation
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public com.google.protobuf.Timestamp getExpiresAt() { + return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + } + /** + *
+     * Expiration timestamp of this reservation
+     * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { + return getExpiresAt(); + } + + public static final int METADATA_FIELD_NUMBER = 6; + private datacatalog.Datacatalog.Metadata metadata_; + /** + *
+     * Free-form metadata associated with the artifact
+     * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public boolean hasMetadata() { + return metadata_ != null; + } + /** + *
+     * Free-form metadata associated with the artifact
+     * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public datacatalog.Datacatalog.Metadata getMetadata() { + return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; + } + /** + *
+     * Free-form metadata associated with the artifact
+     * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { + return getMetadata(); + } + + 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 (reservationId_ != null) { + output.writeMessage(1, getReservationId()); + } + if (!getOwnerIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerId_); + } + if (heartbeatInterval_ != null) { + output.writeMessage(3, getHeartbeatInterval()); + } + if (expiresAt_ != null) { + output.writeMessage(4, getExpiresAt()); + } + if (metadata_ != null) { + output.writeMessage(6, getMetadata()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (reservationId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReservationId()); + } + if (!getOwnerIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerId_); + } + if (heartbeatInterval_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getHeartbeatInterval()); + } + if (expiresAt_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExpiresAt()); + } + if (metadata_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMetadata()); + } + 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 datacatalog.Datacatalog.Reservation)) { + return super.equals(obj); + } + datacatalog.Datacatalog.Reservation other = (datacatalog.Datacatalog.Reservation) obj; + + if (hasReservationId() != other.hasReservationId()) return false; + if (hasReservationId()) { + if (!getReservationId() + .equals(other.getReservationId())) return false; + } + if (!getOwnerId() + .equals(other.getOwnerId())) return false; + if (hasHeartbeatInterval() != other.hasHeartbeatInterval()) return false; + if (hasHeartbeatInterval()) { + if (!getHeartbeatInterval() + .equals(other.getHeartbeatInterval())) return false; + } + if (hasExpiresAt() != other.hasExpiresAt()) return false; + if (hasExpiresAt()) { + if (!getExpiresAt() + .equals(other.getExpiresAt())) return false; + } + if (hasMetadata() != other.hasMetadata()) return false; + if (hasMetadata()) { + if (!getMetadata() + .equals(other.getMetadata())) 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 (hasReservationId()) { + hash = (37 * hash) + RESERVATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getReservationId().hashCode(); + } + hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerId().hashCode(); + if (hasHeartbeatInterval()) { + hash = (37 * hash) + HEARTBEAT_INTERVAL_FIELD_NUMBER; + hash = (53 * hash) + getHeartbeatInterval().hashCode(); + } + if (hasExpiresAt()) { + hash = (37 * hash) + EXPIRES_AT_FIELD_NUMBER; + hash = (53 * hash) + getExpiresAt().hashCode(); + } + if (hasMetadata()) { + hash = (37 * hash) + METADATA_FIELD_NUMBER; + hash = (53 * hash) + getMetadata().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static datacatalog.Datacatalog.Reservation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.Reservation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.Reservation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.Reservation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.Reservation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.Reservation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.Reservation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.Reservation 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 datacatalog.Datacatalog.Reservation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.Reservation 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 datacatalog.Datacatalog.Reservation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.Reservation 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(datacatalog.Datacatalog.Reservation 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; + } + /** + *
+     * A reservation including owner, heartbeat interval, expiration timestamp, and various metadata.
+     * 
+ * + * Protobuf type {@code datacatalog.Reservation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datacatalog.Reservation) + datacatalog.Datacatalog.ReservationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.Reservation.class, datacatalog.Datacatalog.Reservation.Builder.class); + } + + // Construct using datacatalog.Datacatalog.Reservation.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 (reservationIdBuilder_ == null) { + reservationId_ = null; + } else { + reservationId_ = null; + reservationIdBuilder_ = null; + } + ownerId_ = ""; + + if (heartbeatIntervalBuilder_ == null) { + heartbeatInterval_ = null; + } else { + heartbeatInterval_ = null; + heartbeatIntervalBuilder_ = null; + } + if (expiresAtBuilder_ == null) { + expiresAt_ = null; + } else { + expiresAt_ = null; + expiresAtBuilder_ = null; + } + if (metadataBuilder_ == null) { + metadata_ = null; + } else { + metadata_ = null; + metadataBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return datacatalog.Datacatalog.internal_static_datacatalog_Reservation_descriptor; + } + + @java.lang.Override + public datacatalog.Datacatalog.Reservation getDefaultInstanceForType() { + return datacatalog.Datacatalog.Reservation.getDefaultInstance(); + } + + @java.lang.Override + public datacatalog.Datacatalog.Reservation build() { + datacatalog.Datacatalog.Reservation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public datacatalog.Datacatalog.Reservation buildPartial() { + datacatalog.Datacatalog.Reservation result = new datacatalog.Datacatalog.Reservation(this); + if (reservationIdBuilder_ == null) { + result.reservationId_ = reservationId_; + } else { + result.reservationId_ = reservationIdBuilder_.build(); + } + result.ownerId_ = ownerId_; + if (heartbeatIntervalBuilder_ == null) { + result.heartbeatInterval_ = heartbeatInterval_; + } else { + result.heartbeatInterval_ = heartbeatIntervalBuilder_.build(); + } + if (expiresAtBuilder_ == null) { + result.expiresAt_ = expiresAt_; + } else { + result.expiresAt_ = expiresAtBuilder_.build(); + } + if (metadataBuilder_ == null) { + result.metadata_ = metadata_; + } else { + result.metadata_ = metadataBuilder_.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 datacatalog.Datacatalog.Reservation) { + return mergeFrom((datacatalog.Datacatalog.Reservation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(datacatalog.Datacatalog.Reservation other) { + if (other == datacatalog.Datacatalog.Reservation.getDefaultInstance()) return this; + if (other.hasReservationId()) { + mergeReservationId(other.getReservationId()); + } + if (!other.getOwnerId().isEmpty()) { + ownerId_ = other.ownerId_; + onChanged(); + } + if (other.hasHeartbeatInterval()) { + mergeHeartbeatInterval(other.getHeartbeatInterval()); + } + if (other.hasExpiresAt()) { + mergeExpiresAt(other.getExpiresAt()); + } + if (other.hasMetadata()) { + mergeMetadata(other.getMetadata()); + } + 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 { + datacatalog.Datacatalog.Reservation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (datacatalog.Datacatalog.Reservation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private datacatalog.Datacatalog.ReservationID reservationId_; + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> reservationIdBuilder_; + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public boolean hasReservationId() { + return reservationIdBuilder_ != null || reservationId_ != null; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationID getReservationId() { + if (reservationIdBuilder_ == null) { + return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + } else { + return reservationIdBuilder_.getMessage(); + } + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder setReservationId(datacatalog.Datacatalog.ReservationID value) { + if (reservationIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reservationId_ = value; + onChanged(); + } else { + reservationIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder setReservationId( + datacatalog.Datacatalog.ReservationID.Builder builderForValue) { + if (reservationIdBuilder_ == null) { + reservationId_ = builderForValue.build(); + onChanged(); + } else { + reservationIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder mergeReservationId(datacatalog.Datacatalog.ReservationID value) { + if (reservationIdBuilder_ == null) { + if (reservationId_ != null) { + reservationId_ = + datacatalog.Datacatalog.ReservationID.newBuilder(reservationId_).mergeFrom(value).buildPartial(); + } else { + reservationId_ = value; + } + onChanged(); + } else { + reservationIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public Builder clearReservationId() { + if (reservationIdBuilder_ == null) { + reservationId_ = null; + onChanged(); + } else { + reservationId_ = null; + reservationIdBuilder_ = null; + } + + return this; + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationID.Builder getReservationIdBuilder() { + + onChanged(); + return getReservationIdFieldBuilder().getBuilder(); + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { + if (reservationIdBuilder_ != null) { + return reservationIdBuilder_.getMessageOrBuilder(); + } else { + return reservationId_ == null ? + datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + } + } + /** + *
+       * The unique ID for the reservation
+       * 
+ * + * .datacatalog.ReservationID reservation_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> + getReservationIdFieldBuilder() { + if (reservationIdBuilder_ == null) { + reservationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder>( + getReservationId(), + getParentForChildren(), + isClean()); + reservationId_ = null; + } + return reservationIdBuilder_; + } + + private java.lang.Object ownerId_ = ""; + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public java.lang.String getOwnerId() { + java.lang.Object ref = ownerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public com.google.protobuf.ByteString + getOwnerIdBytes() { + java.lang.Object ref = ownerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder setOwnerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + ownerId_ = value; + onChanged(); + return this; + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder clearOwnerId() { + + ownerId_ = getDefaultInstance().getOwnerId(); + onChanged(); + return this; + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder setOwnerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + ownerId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Duration heartbeatInterval_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatIntervalBuilder_; + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public boolean hasHeartbeatInterval() { + return heartbeatIntervalBuilder_ != null || heartbeatInterval_ != null; + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.Duration getHeartbeatInterval() { + if (heartbeatIntervalBuilder_ == null) { + return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + } else { + return heartbeatIntervalBuilder_.getMessage(); + } + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder setHeartbeatInterval(com.google.protobuf.Duration value) { + if (heartbeatIntervalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + heartbeatInterval_ = value; + onChanged(); + } else { + heartbeatIntervalBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder setHeartbeatInterval( + com.google.protobuf.Duration.Builder builderForValue) { + if (heartbeatIntervalBuilder_ == null) { + heartbeatInterval_ = builderForValue.build(); + onChanged(); + } else { + heartbeatIntervalBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder mergeHeartbeatInterval(com.google.protobuf.Duration value) { + if (heartbeatIntervalBuilder_ == null) { + if (heartbeatInterval_ != null) { + heartbeatInterval_ = + com.google.protobuf.Duration.newBuilder(heartbeatInterval_).mergeFrom(value).buildPartial(); + } else { + heartbeatInterval_ = value; + } + onChanged(); + } else { + heartbeatIntervalBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public Builder clearHeartbeatInterval() { + if (heartbeatIntervalBuilder_ == null) { + heartbeatInterval_ = null; + onChanged(); + } else { + heartbeatInterval_ = null; + heartbeatIntervalBuilder_ = null; + } + + return this; + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.Duration.Builder getHeartbeatIntervalBuilder() { + + onChanged(); + return getHeartbeatIntervalFieldBuilder().getBuilder(); + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { + if (heartbeatIntervalBuilder_ != null) { + return heartbeatIntervalBuilder_.getMessageOrBuilder(); + } else { + return heartbeatInterval_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + } + } + /** + *
+       * Recommended heartbeat interval to extend reservation
+       * 
+ * + * .google.protobuf.Duration heartbeat_interval = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + getHeartbeatIntervalFieldBuilder() { + if (heartbeatIntervalBuilder_ == null) { + heartbeatIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getHeartbeatInterval(), + getParentForChildren(), + isClean()); + heartbeatInterval_ = null; + } + return heartbeatIntervalBuilder_; + } + + private com.google.protobuf.Timestamp expiresAt_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiresAtBuilder_; + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public boolean hasExpiresAt() { + return expiresAtBuilder_ != null || expiresAt_ != null; + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public com.google.protobuf.Timestamp getExpiresAt() { + if (expiresAtBuilder_ == null) { + return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + } else { + return expiresAtBuilder_.getMessage(); + } + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public Builder setExpiresAt(com.google.protobuf.Timestamp value) { + if (expiresAtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expiresAt_ = value; + onChanged(); + } else { + expiresAtBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public Builder setExpiresAt( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (expiresAtBuilder_ == null) { + expiresAt_ = builderForValue.build(); + onChanged(); + } else { + expiresAtBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public Builder mergeExpiresAt(com.google.protobuf.Timestamp value) { + if (expiresAtBuilder_ == null) { + if (expiresAt_ != null) { + expiresAt_ = + com.google.protobuf.Timestamp.newBuilder(expiresAt_).mergeFrom(value).buildPartial(); + } else { + expiresAt_ = value; + } + onChanged(); + } else { + expiresAtBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public Builder clearExpiresAt() { + if (expiresAtBuilder_ == null) { + expiresAt_ = null; + onChanged(); + } else { + expiresAt_ = null; + expiresAtBuilder_ = null; + } + + return this; + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { + + onChanged(); + return getExpiresAtFieldBuilder().getBuilder(); + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { + if (expiresAtBuilder_ != null) { + return expiresAtBuilder_.getMessageOrBuilder(); + } else { + return expiresAt_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + } + } + /** + *
+       * Expiration timestamp of this reservation
+       * 
+ * + * .google.protobuf.Timestamp expires_at = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getExpiresAtFieldBuilder() { + if (expiresAtBuilder_ == null) { + expiresAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpiresAt(), + getParentForChildren(), + isClean()); + expiresAt_ = null; + } + return expiresAtBuilder_; + } + + private datacatalog.Datacatalog.Metadata metadata_; + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder> metadataBuilder_; + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public boolean hasMetadata() { + return metadataBuilder_ != null || metadata_ != null; + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public datacatalog.Datacatalog.Metadata getMetadata() { + if (metadataBuilder_ == null) { + return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; + } else { + return metadataBuilder_.getMessage(); + } + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public Builder setMetadata(datacatalog.Datacatalog.Metadata value) { + if (metadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metadata_ = value; + onChanged(); + } else { + metadataBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public Builder setMetadata( + datacatalog.Datacatalog.Metadata.Builder builderForValue) { + if (metadataBuilder_ == null) { + metadata_ = builderForValue.build(); + onChanged(); + } else { + metadataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public Builder mergeMetadata(datacatalog.Datacatalog.Metadata value) { + if (metadataBuilder_ == null) { + if (metadata_ != null) { + metadata_ = + datacatalog.Datacatalog.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); + } else { + metadata_ = value; + } + onChanged(); + } else { + metadataBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public Builder clearMetadata() { + if (metadataBuilder_ == null) { + metadata_ = null; + onChanged(); + } else { + metadata_ = null; + metadataBuilder_ = null; + } + + return this; + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public datacatalog.Datacatalog.Metadata.Builder getMetadataBuilder() { + + onChanged(); + return getMetadataFieldBuilder().getBuilder(); + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { + if (metadataBuilder_ != null) { + return metadataBuilder_.getMessageOrBuilder(); + } else { + return metadata_ == null ? + datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; + } + } + /** + *
+       * Free-form metadata associated with the artifact
+       * 
+ * + * .datacatalog.Metadata metadata = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder> + getMetadataFieldBuilder() { + if (metadataBuilder_ == null) { + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); + metadata_ = null; + } + return metadataBuilder_; + } + @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:datacatalog.Reservation) + } + + // @@protoc_insertion_point(class_scope:datacatalog.Reservation) + private static final datacatalog.Datacatalog.Reservation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new datacatalog.Datacatalog.Reservation(); + } + + public static datacatalog.Datacatalog.Reservation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Reservation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Reservation(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 datacatalog.Datacatalog.Reservation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetOrExtendReservationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.GetOrExtendReservationResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The reservation to be acquired or extended
+     * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + boolean hasReservation(); + /** + *
+     * The reservation to be acquired or extended
+     * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + datacatalog.Datacatalog.Reservation getReservation(); + /** + *
+     * The reservation to be acquired or extended
+     * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + datacatalog.Datacatalog.ReservationOrBuilder getReservationOrBuilder(); + } + /** + *
+   * Response including either a newly minted reservation or the existing reservation
+   * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationResponse} + */ + public static final class GetOrExtendReservationResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datacatalog.GetOrExtendReservationResponse) + GetOrExtendReservationResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetOrExtendReservationResponse.newBuilder() to construct. + private GetOrExtendReservationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetOrExtendReservationResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetOrExtendReservationResponse( + 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: { + datacatalog.Datacatalog.Reservation.Builder subBuilder = null; + if (reservation_ != null) { + subBuilder = reservation_.toBuilder(); + } + reservation_ = input.readMessage(datacatalog.Datacatalog.Reservation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reservation_); + reservation_ = 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 datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationResponse.class, datacatalog.Datacatalog.GetOrExtendReservationResponse.Builder.class); + } + + public static final int RESERVATION_FIELD_NUMBER = 1; + private datacatalog.Datacatalog.Reservation reservation_; + /** + *
+     * The reservation to be acquired or extended
+     * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public boolean hasReservation() { + return reservation_ != null; + } + /** + *
+     * The reservation to be acquired or extended
+     * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public datacatalog.Datacatalog.Reservation getReservation() { + return reservation_ == null ? datacatalog.Datacatalog.Reservation.getDefaultInstance() : reservation_; + } + /** + *
+     * The reservation to be acquired or extended
+     * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public datacatalog.Datacatalog.ReservationOrBuilder getReservationOrBuilder() { + return getReservation(); + } + + 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 (reservation_ != null) { + output.writeMessage(1, getReservation()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (reservation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReservation()); + } + 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 datacatalog.Datacatalog.GetOrExtendReservationResponse)) { + return super.equals(obj); + } + datacatalog.Datacatalog.GetOrExtendReservationResponse other = (datacatalog.Datacatalog.GetOrExtendReservationResponse) obj; + + if (hasReservation() != other.hasReservation()) return false; + if (hasReservation()) { + if (!getReservation() + .equals(other.getReservation())) 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 (hasReservation()) { + hash = (37 * hash) + RESERVATION_FIELD_NUMBER; + hash = (53 * hash) + getReservation().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse 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 datacatalog.Datacatalog.GetOrExtendReservationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse 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 datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationResponse 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(datacatalog.Datacatalog.GetOrExtendReservationResponse 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; + } + /** + *
+     * Response including either a newly minted reservation or the existing reservation
+     * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datacatalog.GetOrExtendReservationResponse) + datacatalog.Datacatalog.GetOrExtendReservationResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationResponse.class, datacatalog.Datacatalog.GetOrExtendReservationResponse.Builder.class); + } + + // Construct using datacatalog.Datacatalog.GetOrExtendReservationResponse.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 (reservationBuilder_ == null) { + reservation_ = null; + } else { + reservation_ = null; + reservationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_descriptor; + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationResponse getDefaultInstanceForType() { + return datacatalog.Datacatalog.GetOrExtendReservationResponse.getDefaultInstance(); + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationResponse build() { + datacatalog.Datacatalog.GetOrExtendReservationResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationResponse buildPartial() { + datacatalog.Datacatalog.GetOrExtendReservationResponse result = new datacatalog.Datacatalog.GetOrExtendReservationResponse(this); + if (reservationBuilder_ == null) { + result.reservation_ = reservation_; + } else { + result.reservation_ = reservationBuilder_.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 datacatalog.Datacatalog.GetOrExtendReservationResponse) { + return mergeFrom((datacatalog.Datacatalog.GetOrExtendReservationResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(datacatalog.Datacatalog.GetOrExtendReservationResponse other) { + if (other == datacatalog.Datacatalog.GetOrExtendReservationResponse.getDefaultInstance()) return this; + if (other.hasReservation()) { + mergeReservation(other.getReservation()); + } + 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 { + datacatalog.Datacatalog.GetOrExtendReservationResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (datacatalog.Datacatalog.GetOrExtendReservationResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private datacatalog.Datacatalog.Reservation reservation_; + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder> reservationBuilder_; + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public boolean hasReservation() { + return reservationBuilder_ != null || reservation_ != null; + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public datacatalog.Datacatalog.Reservation getReservation() { + if (reservationBuilder_ == null) { + return reservation_ == null ? datacatalog.Datacatalog.Reservation.getDefaultInstance() : reservation_; + } else { + return reservationBuilder_.getMessage(); + } + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public Builder setReservation(datacatalog.Datacatalog.Reservation value) { + if (reservationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reservation_ = value; + onChanged(); + } else { + reservationBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public Builder setReservation( + datacatalog.Datacatalog.Reservation.Builder builderForValue) { + if (reservationBuilder_ == null) { + reservation_ = builderForValue.build(); + onChanged(); + } else { + reservationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public Builder mergeReservation(datacatalog.Datacatalog.Reservation value) { + if (reservationBuilder_ == null) { + if (reservation_ != null) { + reservation_ = + datacatalog.Datacatalog.Reservation.newBuilder(reservation_).mergeFrom(value).buildPartial(); + } else { + reservation_ = value; + } + onChanged(); + } else { + reservationBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public Builder clearReservation() { + if (reservationBuilder_ == null) { + reservation_ = null; + onChanged(); + } else { + reservation_ = null; + reservationBuilder_ = null; + } + + return this; + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public datacatalog.Datacatalog.Reservation.Builder getReservationBuilder() { + + onChanged(); + return getReservationFieldBuilder().getBuilder(); + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + public datacatalog.Datacatalog.ReservationOrBuilder getReservationOrBuilder() { + if (reservationBuilder_ != null) { + return reservationBuilder_.getMessageOrBuilder(); + } else { + return reservation_ == null ? + datacatalog.Datacatalog.Reservation.getDefaultInstance() : reservation_; + } + } + /** + *
+       * The reservation to be acquired or extended
+       * 
+ * + * .datacatalog.Reservation reservation = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder> + getReservationFieldBuilder() { + if (reservationBuilder_ == null) { + reservationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder>( + getReservation(), + getParentForChildren(), + isClean()); + reservation_ = null; + } + return reservationBuilder_; + } + @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:datacatalog.GetOrExtendReservationResponse) + } + + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationResponse) + private static final datacatalog.Datacatalog.GetOrExtendReservationResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetOrExtendReservationResponse(); + } + + public static datacatalog.Datacatalog.GetOrExtendReservationResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOrExtendReservationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetOrExtendReservationResponse(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 datacatalog.Datacatalog.GetOrExtendReservationResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetOrExtendReservationsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.GetOrExtendReservationsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + java.util.List + getReservationsList(); + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + datacatalog.Datacatalog.Reservation getReservations(int index); + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + int getReservationsCount(); + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + java.util.List + getReservationsOrBuilderList(); + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + datacatalog.Datacatalog.ReservationOrBuilder getReservationsOrBuilder( + int index); + } + /** + *
+   * List of reservations acquired for multiple artifacts in a single operation.
+   * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationsResponse} + */ + public static final class GetOrExtendReservationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:datacatalog.GetOrExtendReservationsResponse) + GetOrExtendReservationsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetOrExtendReservationsResponse.newBuilder() to construct. + private GetOrExtendReservationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetOrExtendReservationsResponse() { + reservations_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetOrExtendReservationsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public datacatalog.Datacatalog.ReservationID.Builder getReservationIdBuilder() { - - onChanged(); - return getReservationIdFieldBuilder().getBuilder(); + 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)) { + reservations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + reservations_.add( + input.readMessage(datacatalog.Datacatalog.Reservation.parser(), extensionRegistry)); + 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)) { + reservations_ = java.util.Collections.unmodifiableList(reservations_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { - if (reservationIdBuilder_ != null) { - return reservationIdBuilder_.getMessageOrBuilder(); - } else { - return reservationId_ == null ? - datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationsResponse.class, datacatalog.Datacatalog.GetOrExtendReservationsResponse.Builder.class); + } + + public static final int RESERVATIONS_FIELD_NUMBER = 1; + private java.util.List reservations_; + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + public java.util.List getReservationsList() { + return reservations_; + } + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + public java.util.List + getReservationsOrBuilderList() { + return reservations_; + } + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + public int getReservationsCount() { + return reservations_.size(); + } + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + public datacatalog.Datacatalog.Reservation getReservations(int index) { + return reservations_.get(index); + } + /** + *
+     * List of (newly created or existing) reservations for artifacts requested
+     * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + public datacatalog.Datacatalog.ReservationOrBuilder getReservationsOrBuilder( + int index) { + return reservations_.get(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 < reservations_.size(); i++) { + output.writeMessage(1, reservations_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < reservations_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, reservations_.get(i)); + } + 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 datacatalog.Datacatalog.GetOrExtendReservationsResponse)) { + return super.equals(obj); + } + datacatalog.Datacatalog.GetOrExtendReservationsResponse other = (datacatalog.Datacatalog.GetOrExtendReservationsResponse) obj; + + if (!getReservationsList() + .equals(other.getReservationsList())) 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 (getReservationsCount() > 0) { + hash = (37 * hash) + RESERVATIONS_FIELD_NUMBER; + hash = (53 * hash) + getReservationsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse 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 datacatalog.Datacatalog.GetOrExtendReservationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse 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 datacatalog.Datacatalog.GetOrExtendReservationsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse 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(datacatalog.Datacatalog.GetOrExtendReservationsResponse 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; + } + /** + *
+     * List of reservations acquired for multiple artifacts in a single operation.
+     * 
+ * + * Protobuf type {@code datacatalog.GetOrExtendReservationsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:datacatalog.GetOrExtendReservationsResponse) + datacatalog.Datacatalog.GetOrExtendReservationsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + datacatalog.Datacatalog.GetOrExtendReservationsResponse.class, datacatalog.Datacatalog.GetOrExtendReservationsResponse.Builder.class); + } + + // Construct using datacatalog.Datacatalog.GetOrExtendReservationsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getReservationsFieldBuilder(); } } - /** - *
-       * The unique ID for the reservation
-       * 
- * - * .datacatalog.ReservationID reservation_id = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> - getReservationIdFieldBuilder() { - if (reservationIdBuilder_ == null) { - reservationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder>( - getReservationId(), - getParentForChildren(), - isClean()); - reservationId_ = null; + @java.lang.Override + public Builder clear() { + super.clear(); + if (reservationsBuilder_ == null) { + reservations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + reservationsBuilder_.clear(); } - return reservationIdBuilder_; + return this; } - private java.lang.Object ownerId_ = ""; - /** - *
-       * The unique ID of the owner for the reservation
-       * 
- * - * string owner_id = 2; - */ - public java.lang.String getOwnerId() { - java.lang.Object ref = ownerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ownerId_ = s; - return s; - } else { - return (java.lang.String) ref; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationsResponse_descriptor; + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationsResponse getDefaultInstanceForType() { + return datacatalog.Datacatalog.GetOrExtendReservationsResponse.getDefaultInstance(); + } + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationsResponse build() { + datacatalog.Datacatalog.GetOrExtendReservationsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); } + return result; } - /** - *
-       * The unique ID of the owner for the reservation
-       * 
- * - * string owner_id = 2; - */ - public com.google.protobuf.ByteString - getOwnerIdBytes() { - java.lang.Object ref = ownerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerId_ = b; - return b; + + @java.lang.Override + public datacatalog.Datacatalog.GetOrExtendReservationsResponse buildPartial() { + datacatalog.Datacatalog.GetOrExtendReservationsResponse result = new datacatalog.Datacatalog.GetOrExtendReservationsResponse(this); + int from_bitField0_ = bitField0_; + if (reservationsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + reservations_ = java.util.Collections.unmodifiableList(reservations_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.reservations_ = reservations_; } else { - return (com.google.protobuf.ByteString) ref; + result.reservations_ = reservationsBuilder_.build(); } + onBuilt(); + return result; } - /** - *
-       * The unique ID of the owner for the reservation
-       * 
- * - * string owner_id = 2; - */ - public Builder setOwnerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - ownerId_ = value; - onChanged(); - return this; + + @java.lang.Override + public Builder clone() { + return super.clone(); } - /** - *
-       * The unique ID of the owner for the reservation
-       * 
- * - * string owner_id = 2; - */ - public Builder clearOwnerId() { - - ownerId_ = getDefaultInstance().getOwnerId(); - onChanged(); - return this; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - /** - *
-       * The unique ID of the owner for the reservation
-       * 
- * - * string owner_id = 2; - */ - public Builder setOwnerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - ownerId_ = value; - onChanged(); - return this; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - - private com.google.protobuf.Duration heartbeatInterval_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatIntervalBuilder_; - /** - *
-       * Recommended heartbeat interval to extend reservation
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public boolean hasHeartbeatInterval() { - return heartbeatIntervalBuilder_ != null || heartbeatInterval_ != null; + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); } - /** - *
-       * Recommended heartbeat interval to extend reservation
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public com.google.protobuf.Duration getHeartbeatInterval() { - if (heartbeatIntervalBuilder_ == null) { - return heartbeatInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + @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 datacatalog.Datacatalog.GetOrExtendReservationsResponse) { + return mergeFrom((datacatalog.Datacatalog.GetOrExtendReservationsResponse)other); } else { - return heartbeatIntervalBuilder_.getMessage(); + super.mergeFrom(other); + return this; } } - /** - *
-       * Recommended heartbeat interval to extend reservation
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public Builder setHeartbeatInterval(com.google.protobuf.Duration value) { - if (heartbeatIntervalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + + public Builder mergeFrom(datacatalog.Datacatalog.GetOrExtendReservationsResponse other) { + if (other == datacatalog.Datacatalog.GetOrExtendReservationsResponse.getDefaultInstance()) return this; + if (reservationsBuilder_ == null) { + if (!other.reservations_.isEmpty()) { + if (reservations_.isEmpty()) { + reservations_ = other.reservations_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureReservationsIsMutable(); + reservations_.addAll(other.reservations_); + } + onChanged(); } - heartbeatInterval_ = value; - onChanged(); } else { - heartbeatIntervalBuilder_.setMessage(value); + if (!other.reservations_.isEmpty()) { + if (reservationsBuilder_.isEmpty()) { + reservationsBuilder_.dispose(); + reservationsBuilder_ = null; + reservations_ = other.reservations_; + bitField0_ = (bitField0_ & ~0x00000001); + reservationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReservationsFieldBuilder() : null; + } else { + reservationsBuilder_.addAllMessages(other.reservations_); + } + } } - + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } - /** - *
-       * Recommended heartbeat interval to extend reservation
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public Builder setHeartbeatInterval( - com.google.protobuf.Duration.Builder builderForValue) { - if (heartbeatIntervalBuilder_ == null) { - heartbeatInterval_ = builderForValue.build(); - onChanged(); - } else { - heartbeatIntervalBuilder_.setMessage(builderForValue.build()); - } - return this; + @java.lang.Override + public final boolean isInitialized() { + return true; } - /** - *
-       * Recommended heartbeat interval to extend reservation
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public Builder mergeHeartbeatInterval(com.google.protobuf.Duration value) { - if (heartbeatIntervalBuilder_ == null) { - if (heartbeatInterval_ != null) { - heartbeatInterval_ = - com.google.protobuf.Duration.newBuilder(heartbeatInterval_).mergeFrom(value).buildPartial(); - } else { - heartbeatInterval_ = value; + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + datacatalog.Datacatalog.GetOrExtendReservationsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (datacatalog.Datacatalog.GetOrExtendReservationsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } - onChanged(); - } else { - heartbeatIntervalBuilder_.mergeFrom(value); } - return this; } - /** - *
-       * Recommended heartbeat interval to extend reservation
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public Builder clearHeartbeatInterval() { - if (heartbeatIntervalBuilder_ == null) { - heartbeatInterval_ = null; - onChanged(); - } else { - heartbeatInterval_ = null; - heartbeatIntervalBuilder_ = null; - } + private int bitField0_; - return this; - } - /** - *
-       * Recommended heartbeat interval to extend reservation
-       * 
- * - * .google.protobuf.Duration heartbeat_interval = 3; - */ - public com.google.protobuf.Duration.Builder getHeartbeatIntervalBuilder() { - - onChanged(); - return getHeartbeatIntervalFieldBuilder().getBuilder(); + private java.util.List reservations_ = + java.util.Collections.emptyList(); + private void ensureReservationsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + reservations_ = new java.util.ArrayList(reservations_); + bitField0_ |= 0x00000001; + } } + + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder> reservationsBuilder_; + /** *
-       * Recommended heartbeat interval to extend reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.Reservation reservations = 1; */ - public com.google.protobuf.DurationOrBuilder getHeartbeatIntervalOrBuilder() { - if (heartbeatIntervalBuilder_ != null) { - return heartbeatIntervalBuilder_.getMessageOrBuilder(); + public java.util.List getReservationsList() { + if (reservationsBuilder_ == null) { + return java.util.Collections.unmodifiableList(reservations_); } else { - return heartbeatInterval_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : heartbeatInterval_; + return reservationsBuilder_.getMessageList(); } } /** *
-       * Recommended heartbeat interval to extend reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Duration heartbeat_interval = 3; + * repeated .datacatalog.Reservation reservations = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getHeartbeatIntervalFieldBuilder() { - if (heartbeatIntervalBuilder_ == null) { - heartbeatIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getHeartbeatInterval(), - getParentForChildren(), - isClean()); - heartbeatInterval_ = null; + public int getReservationsCount() { + if (reservationsBuilder_ == null) { + return reservations_.size(); + } else { + return reservationsBuilder_.getCount(); } - return heartbeatIntervalBuilder_; - } - - private com.google.protobuf.Timestamp expiresAt_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiresAtBuilder_; - /** - *
-       * Expiration timestamp of this reservation
-       * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - public boolean hasExpiresAt() { - return expiresAtBuilder_ != null || expiresAt_ != null; } /** *
-       * Expiration timestamp of this reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Timestamp expires_at = 4; + * repeated .datacatalog.Reservation reservations = 1; */ - public com.google.protobuf.Timestamp getExpiresAt() { - if (expiresAtBuilder_ == null) { - return expiresAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + public datacatalog.Datacatalog.Reservation getReservations(int index) { + if (reservationsBuilder_ == null) { + return reservations_.get(index); } else { - return expiresAtBuilder_.getMessage(); + return reservationsBuilder_.getMessage(index); } } /** *
-       * Expiration timestamp of this reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Timestamp expires_at = 4; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder setExpiresAt(com.google.protobuf.Timestamp value) { - if (expiresAtBuilder_ == null) { + public Builder setReservations( + int index, datacatalog.Datacatalog.Reservation value) { + if (reservationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - expiresAt_ = value; + ensureReservationsIsMutable(); + reservations_.set(index, value); onChanged(); } else { - expiresAtBuilder_.setMessage(value); + reservationsBuilder_.setMessage(index, value); } - return this; } /** *
-       * Expiration timestamp of this reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Timestamp expires_at = 4; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder setExpiresAt( - com.google.protobuf.Timestamp.Builder builderForValue) { - if (expiresAtBuilder_ == null) { - expiresAt_ = builderForValue.build(); + public Builder setReservations( + int index, datacatalog.Datacatalog.Reservation.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.set(index, builderForValue.build()); onChanged(); } else { - expiresAtBuilder_.setMessage(builderForValue.build()); + reservationsBuilder_.setMessage(index, builderForValue.build()); } - return this; } /** *
-       * Expiration timestamp of this reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Timestamp expires_at = 4; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder mergeExpiresAt(com.google.protobuf.Timestamp value) { - if (expiresAtBuilder_ == null) { - if (expiresAt_ != null) { - expiresAt_ = - com.google.protobuf.Timestamp.newBuilder(expiresAt_).mergeFrom(value).buildPartial(); - } else { - expiresAt_ = value; + public Builder addReservations(datacatalog.Datacatalog.Reservation value) { + if (reservationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } + ensureReservationsIsMutable(); + reservations_.add(value); onChanged(); } else { - expiresAtBuilder_.mergeFrom(value); + reservationsBuilder_.addMessage(value); } - return this; } /** *
-       * Expiration timestamp of this reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Timestamp expires_at = 4; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder clearExpiresAt() { - if (expiresAtBuilder_ == null) { - expiresAt_ = null; + public Builder addReservations( + int index, datacatalog.Datacatalog.Reservation value) { + if (reservationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationsIsMutable(); + reservations_.add(index, value); onChanged(); } else { - expiresAt_ = null; - expiresAtBuilder_ = null; + reservationsBuilder_.addMessage(index, value); } - return this; } /** *
-       * Expiration timestamp of this reservation
-       * 
- * - * .google.protobuf.Timestamp expires_at = 4; - */ - public com.google.protobuf.Timestamp.Builder getExpiresAtBuilder() { - - onChanged(); - return getExpiresAtFieldBuilder().getBuilder(); - } - /** - *
-       * Expiration timestamp of this reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Timestamp expires_at = 4; + * repeated .datacatalog.Reservation reservations = 1; */ - public com.google.protobuf.TimestampOrBuilder getExpiresAtOrBuilder() { - if (expiresAtBuilder_ != null) { - return expiresAtBuilder_.getMessageOrBuilder(); + public Builder addReservations( + datacatalog.Datacatalog.Reservation.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.add(builderForValue.build()); + onChanged(); } else { - return expiresAt_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiresAt_; + reservationsBuilder_.addMessage(builderForValue.build()); } + return this; } /** *
-       * Expiration timestamp of this reservation
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .google.protobuf.Timestamp expires_at = 4; + * repeated .datacatalog.Reservation reservations = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getExpiresAtFieldBuilder() { - if (expiresAtBuilder_ == null) { - expiresAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpiresAt(), - getParentForChildren(), - isClean()); - expiresAt_ = null; + public Builder addReservations( + int index, datacatalog.Datacatalog.Reservation.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.add(index, builderForValue.build()); + onChanged(); + } else { + reservationsBuilder_.addMessage(index, builderForValue.build()); } - return expiresAtBuilder_; - } - - private datacatalog.Datacatalog.Metadata metadata_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder> metadataBuilder_; - /** - *
-       * Free-form metadata associated with the artifact
-       * 
- * - * .datacatalog.Metadata metadata = 6; - */ - public boolean hasMetadata() { - return metadataBuilder_ != null || metadata_ != null; + return this; } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - public datacatalog.Datacatalog.Metadata getMetadata() { - if (metadataBuilder_ == null) { - return metadata_ == null ? datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; + public Builder addAllReservations( + java.lang.Iterable values) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reservations_); + onChanged(); } else { - return metadataBuilder_.getMessage(); + reservationsBuilder_.addAllMessages(values); } + return this; } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder setMetadata(datacatalog.Datacatalog.Metadata value) { - if (metadataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - metadata_ = value; + public Builder clearReservations() { + if (reservationsBuilder_ == null) { + reservations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { - metadataBuilder_.setMessage(value); + reservationsBuilder_.clear(); } - return this; } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder setMetadata( - datacatalog.Datacatalog.Metadata.Builder builderForValue) { - if (metadataBuilder_ == null) { - metadata_ = builderForValue.build(); + public Builder removeReservations(int index) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.remove(index); onChanged(); } else { - metadataBuilder_.setMessage(builderForValue.build()); + reservationsBuilder_.remove(index); } - return this; } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder mergeMetadata(datacatalog.Datacatalog.Metadata value) { - if (metadataBuilder_ == null) { - if (metadata_ != null) { - metadata_ = - datacatalog.Datacatalog.Metadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); - } else { - metadata_ = value; - } - onChanged(); - } else { - metadataBuilder_.mergeFrom(value); - } - - return this; + public datacatalog.Datacatalog.Reservation.Builder getReservationsBuilder( + int index) { + return getReservationsFieldBuilder().getBuilder(index); } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - public Builder clearMetadata() { - if (metadataBuilder_ == null) { - metadata_ = null; - onChanged(); - } else { - metadata_ = null; - metadataBuilder_ = null; + public datacatalog.Datacatalog.ReservationOrBuilder getReservationsOrBuilder( + int index) { + if (reservationsBuilder_ == null) { + return reservations_.get(index); } else { + return reservationsBuilder_.getMessageOrBuilder(index); } - - return this; } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - public datacatalog.Datacatalog.Metadata.Builder getMetadataBuilder() { - - onChanged(); - return getMetadataFieldBuilder().getBuilder(); + public java.util.List + getReservationsOrBuilderList() { + if (reservationsBuilder_ != null) { + return reservationsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(reservations_); + } } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { - if (metadataBuilder_ != null) { - return metadataBuilder_.getMessageOrBuilder(); - } else { - return metadata_ == null ? - datacatalog.Datacatalog.Metadata.getDefaultInstance() : metadata_; - } + public datacatalog.Datacatalog.Reservation.Builder addReservationsBuilder() { + return getReservationsFieldBuilder().addBuilder( + datacatalog.Datacatalog.Reservation.getDefaultInstance()); + } + /** + *
+       * List of (newly created or existing) reservations for artifacts requested
+       * 
+ * + * repeated .datacatalog.Reservation reservations = 1; + */ + public datacatalog.Datacatalog.Reservation.Builder addReservationsBuilder( + int index) { + return getReservationsFieldBuilder().addBuilder( + index, datacatalog.Datacatalog.Reservation.getDefaultInstance()); } /** *
-       * Free-form metadata associated with the artifact
+       * List of (newly created or existing) reservations for artifacts requested
        * 
* - * .datacatalog.Metadata metadata = 6; + * repeated .datacatalog.Reservation reservations = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder> - getMetadataFieldBuilder() { - if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder>( - getMetadata(), + public java.util.List + getReservationsBuilderList() { + return getReservationsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder> + getReservationsFieldBuilder() { + if (reservationsBuilder_ == null) { + reservationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder>( + reservations_, + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - metadata_ = null; + reservations_ = null; } - return metadataBuilder_; + return reservationsBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -15931,92 +20797,111 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datacatalog.Reservation) + // @@protoc_insertion_point(builder_scope:datacatalog.GetOrExtendReservationsResponse) } - // @@protoc_insertion_point(class_scope:datacatalog.Reservation) - private static final datacatalog.Datacatalog.Reservation DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationsResponse) + private static final datacatalog.Datacatalog.GetOrExtendReservationsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.Reservation(); + DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetOrExtendReservationsResponse(); } - public static datacatalog.Datacatalog.Reservation getDefaultInstance() { + public static datacatalog.Datacatalog.GetOrExtendReservationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public Reservation parsePartialFrom( + public GetOrExtendReservationsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Reservation(input, extensionRegistry); + return new GetOrExtendReservationsResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public datacatalog.Datacatalog.Reservation getDefaultInstanceForType() { + public datacatalog.Datacatalog.GetOrExtendReservationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface GetOrExtendReservationResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.GetOrExtendReservationResponse) + public interface ReleaseReservationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.ReleaseReservationRequest) com.google.protobuf.MessageOrBuilder { /** *
-     * The reservation to be acquired or extended
+     * The unique ID for the reservation
      * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - boolean hasReservation(); + boolean hasReservationId(); /** *
-     * The reservation to be acquired or extended
+     * The unique ID for the reservation
      * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - datacatalog.Datacatalog.Reservation getReservation(); + datacatalog.Datacatalog.ReservationID getReservationId(); /** *
-     * The reservation to be acquired or extended
+     * The unique ID for the reservation
      * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - datacatalog.Datacatalog.ReservationOrBuilder getReservationOrBuilder(); + datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder(); + + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + java.lang.String getOwnerId(); + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + com.google.protobuf.ByteString + getOwnerIdBytes(); } /** *
-   * Response including either a newly minted reservation or the existing reservation
+   * Request to release reservation
    * 
* - * Protobuf type {@code datacatalog.GetOrExtendReservationResponse} + * Protobuf type {@code datacatalog.ReleaseReservationRequest} */ - public static final class GetOrExtendReservationResponse extends + public static final class ReleaseReservationRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.GetOrExtendReservationResponse) - GetOrExtendReservationResponseOrBuilder { + // @@protoc_insertion_point(message_implements:datacatalog.ReleaseReservationRequest) + ReleaseReservationRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use GetOrExtendReservationResponse.newBuilder() to construct. - private GetOrExtendReservationResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ReleaseReservationRequest.newBuilder() to construct. + private ReleaseReservationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOrExtendReservationResponse() { + private ReleaseReservationRequest() { + ownerId_ = ""; } @java.lang.Override @@ -16024,7 +20909,7 @@ private GetOrExtendReservationResponse() { getUnknownFields() { return this.unknownFields; } - private GetOrExtendReservationResponse( + private ReleaseReservationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -16044,18 +20929,24 @@ private GetOrExtendReservationResponse( done = true; break; case 10: { - datacatalog.Datacatalog.Reservation.Builder subBuilder = null; - if (reservation_ != null) { - subBuilder = reservation_.toBuilder(); + datacatalog.Datacatalog.ReservationID.Builder subBuilder = null; + if (reservationId_ != null) { + subBuilder = reservationId_.toBuilder(); } - reservation_ = input.readMessage(datacatalog.Datacatalog.Reservation.parser(), extensionRegistry); + reservationId_ = input.readMessage(datacatalog.Datacatalog.ReservationID.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(reservation_); - reservation_ = subBuilder.buildPartial(); + subBuilder.mergeFrom(reservationId_); + reservationId_ = subBuilder.buildPartial(); } break; } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + ownerId_ = s; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -16077,48 +20968,90 @@ private GetOrExtendReservationResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetOrExtendReservationResponse.class, datacatalog.Datacatalog.GetOrExtendReservationResponse.Builder.class); + datacatalog.Datacatalog.ReleaseReservationRequest.class, datacatalog.Datacatalog.ReleaseReservationRequest.Builder.class); } - public static final int RESERVATION_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.Reservation reservation_; + public static final int RESERVATION_ID_FIELD_NUMBER = 1; + private datacatalog.Datacatalog.ReservationID reservationId_; /** *
-     * The reservation to be acquired or extended
+     * The unique ID for the reservation
      * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public boolean hasReservation() { - return reservation_ != null; + public boolean hasReservationId() { + return reservationId_ != null; } /** *
-     * The reservation to be acquired or extended
+     * The unique ID for the reservation
      * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public datacatalog.Datacatalog.Reservation getReservation() { - return reservation_ == null ? datacatalog.Datacatalog.Reservation.getDefaultInstance() : reservation_; + public datacatalog.Datacatalog.ReservationID getReservationId() { + return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; } /** *
-     * The reservation to be acquired or extended
+     * The unique ID for the reservation
      * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public datacatalog.Datacatalog.ReservationOrBuilder getReservationOrBuilder() { - return getReservation(); + public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { + return getReservationId(); + } + + public static final int OWNER_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object ownerId_; + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + public java.lang.String getOwnerId() { + java.lang.Object ref = ownerId_; + 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(); + ownerId_ = s; + return s; + } + } + /** + *
+     * The unique ID of the owner for the reservation
+     * 
+ * + * string owner_id = 2; + */ + public com.google.protobuf.ByteString + getOwnerIdBytes() { + java.lang.Object ref = ownerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -16135,8 +21068,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (reservation_ != null) { - output.writeMessage(1, getReservation()); + if (reservationId_ != null) { + output.writeMessage(1, getReservationId()); + } + if (!getOwnerIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerId_); } unknownFields.writeTo(output); } @@ -16147,9 +21083,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (reservation_ != null) { + if (reservationId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReservation()); + .computeMessageSize(1, getReservationId()); + } + if (!getOwnerIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16161,16 +21100,18 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof datacatalog.Datacatalog.GetOrExtendReservationResponse)) { + if (!(obj instanceof datacatalog.Datacatalog.ReleaseReservationRequest)) { return super.equals(obj); } - datacatalog.Datacatalog.GetOrExtendReservationResponse other = (datacatalog.Datacatalog.GetOrExtendReservationResponse) obj; + datacatalog.Datacatalog.ReleaseReservationRequest other = (datacatalog.Datacatalog.ReleaseReservationRequest) obj; - if (hasReservation() != other.hasReservation()) return false; - if (hasReservation()) { - if (!getReservation() - .equals(other.getReservation())) return false; + if (hasReservationId() != other.hasReservationId()) return false; + if (hasReservationId()) { + if (!getReservationId() + .equals(other.getReservationId())) return false; } + if (!getOwnerId() + .equals(other.getOwnerId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16182,78 +21123,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasReservation()) { - hash = (37 * hash) + RESERVATION_FIELD_NUMBER; - hash = (53 * hash) + getReservation().hashCode(); + if (hasReservationId()) { + hash = (37 * hash) + RESERVATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getReservationId().hashCode(); } + hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; + hash = (53 * hash) + getOwnerId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom(byte[] data) + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest 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 datacatalog.Datacatalog.GetOrExtendReservationResponse parseDelimitedFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.ReleaseReservationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseDelimitedFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest 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 datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -16266,7 +21209,7 @@ public static datacatalog.Datacatalog.GetOrExtendReservationResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(datacatalog.Datacatalog.GetOrExtendReservationResponse prototype) { + public static Builder newBuilder(datacatalog.Datacatalog.ReleaseReservationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -16283,29 +21226,29 @@ protected Builder newBuilderForType( } /** *
-     * Response including either a newly minted reservation or the existing reservation
+     * Request to release reservation
      * 
* - * Protobuf type {@code datacatalog.GetOrExtendReservationResponse} + * Protobuf type {@code datacatalog.ReleaseReservationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.GetOrExtendReservationResponse) - datacatalog.Datacatalog.GetOrExtendReservationResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:datacatalog.ReleaseReservationRequest) + datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.GetOrExtendReservationResponse.class, datacatalog.Datacatalog.GetOrExtendReservationResponse.Builder.class); + datacatalog.Datacatalog.ReleaseReservationRequest.class, datacatalog.Datacatalog.ReleaseReservationRequest.Builder.class); } - // Construct using datacatalog.Datacatalog.GetOrExtendReservationResponse.newBuilder() + // Construct using datacatalog.Datacatalog.ReleaseReservationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -16323,29 +21266,31 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - if (reservationBuilder_ == null) { - reservation_ = null; + if (reservationIdBuilder_ == null) { + reservationId_ = null; } else { - reservation_ = null; - reservationBuilder_ = null; + reservationId_ = null; + reservationIdBuilder_ = null; } + ownerId_ = ""; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_GetOrExtendReservationResponse_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_descriptor; } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationResponse getDefaultInstanceForType() { - return datacatalog.Datacatalog.GetOrExtendReservationResponse.getDefaultInstance(); + public datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstanceForType() { + return datacatalog.Datacatalog.ReleaseReservationRequest.getDefaultInstance(); } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationResponse build() { - datacatalog.Datacatalog.GetOrExtendReservationResponse result = buildPartial(); + public datacatalog.Datacatalog.ReleaseReservationRequest build() { + datacatalog.Datacatalog.ReleaseReservationRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -16353,13 +21298,14 @@ public datacatalog.Datacatalog.GetOrExtendReservationResponse build() { } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationResponse buildPartial() { - datacatalog.Datacatalog.GetOrExtendReservationResponse result = new datacatalog.Datacatalog.GetOrExtendReservationResponse(this); - if (reservationBuilder_ == null) { - result.reservation_ = reservation_; + public datacatalog.Datacatalog.ReleaseReservationRequest buildPartial() { + datacatalog.Datacatalog.ReleaseReservationRequest result = new datacatalog.Datacatalog.ReleaseReservationRequest(this); + if (reservationIdBuilder_ == null) { + result.reservationId_ = reservationId_; } else { - result.reservation_ = reservationBuilder_.build(); + result.reservationId_ = reservationIdBuilder_.build(); } + result.ownerId_ = ownerId_; onBuilt(); return result; } @@ -16398,18 +21344,22 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.GetOrExtendReservationResponse) { - return mergeFrom((datacatalog.Datacatalog.GetOrExtendReservationResponse)other); + if (other instanceof datacatalog.Datacatalog.ReleaseReservationRequest) { + return mergeFrom((datacatalog.Datacatalog.ReleaseReservationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(datacatalog.Datacatalog.GetOrExtendReservationResponse other) { - if (other == datacatalog.Datacatalog.GetOrExtendReservationResponse.getDefaultInstance()) return this; - if (other.hasReservation()) { - mergeReservation(other.getReservation()); + public Builder mergeFrom(datacatalog.Datacatalog.ReleaseReservationRequest other) { + if (other == datacatalog.Datacatalog.ReleaseReservationRequest.getDefaultInstance()) return this; + if (other.hasReservationId()) { + mergeReservationId(other.getReservationId()); + } + if (!other.getOwnerId().isEmpty()) { + ownerId_ = other.ownerId_; + onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -16426,11 +21376,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - datacatalog.Datacatalog.GetOrExtendReservationResponse parsedMessage = null; + datacatalog.Datacatalog.ReleaseReservationRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.GetOrExtendReservationResponse) e.getUnfinishedMessage(); + parsedMessage = (datacatalog.Datacatalog.ReleaseReservationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16440,157 +21390,246 @@ public Builder mergeFrom( return this; } - private datacatalog.Datacatalog.Reservation reservation_; + private datacatalog.Datacatalog.ReservationID reservationId_; private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder> reservationBuilder_; + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> reservationIdBuilder_; /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public boolean hasReservation() { - return reservationBuilder_ != null || reservation_ != null; + public boolean hasReservationId() { + return reservationIdBuilder_ != null || reservationId_ != null; } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public datacatalog.Datacatalog.Reservation getReservation() { - if (reservationBuilder_ == null) { - return reservation_ == null ? datacatalog.Datacatalog.Reservation.getDefaultInstance() : reservation_; + public datacatalog.Datacatalog.ReservationID getReservationId() { + if (reservationIdBuilder_ == null) { + return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; } else { - return reservationBuilder_.getMessage(); + return reservationIdBuilder_.getMessage(); } } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public Builder setReservation(datacatalog.Datacatalog.Reservation value) { - if (reservationBuilder_ == null) { + public Builder setReservationId(datacatalog.Datacatalog.ReservationID value) { + if (reservationIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - reservation_ = value; + reservationId_ = value; onChanged(); } else { - reservationBuilder_.setMessage(value); + reservationIdBuilder_.setMessage(value); } return this; } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public Builder setReservation( - datacatalog.Datacatalog.Reservation.Builder builderForValue) { - if (reservationBuilder_ == null) { - reservation_ = builderForValue.build(); + public Builder setReservationId( + datacatalog.Datacatalog.ReservationID.Builder builderForValue) { + if (reservationIdBuilder_ == null) { + reservationId_ = builderForValue.build(); onChanged(); } else { - reservationBuilder_.setMessage(builderForValue.build()); + reservationIdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public Builder mergeReservation(datacatalog.Datacatalog.Reservation value) { - if (reservationBuilder_ == null) { - if (reservation_ != null) { - reservation_ = - datacatalog.Datacatalog.Reservation.newBuilder(reservation_).mergeFrom(value).buildPartial(); + public Builder mergeReservationId(datacatalog.Datacatalog.ReservationID value) { + if (reservationIdBuilder_ == null) { + if (reservationId_ != null) { + reservationId_ = + datacatalog.Datacatalog.ReservationID.newBuilder(reservationId_).mergeFrom(value).buildPartial(); } else { - reservation_ = value; + reservationId_ = value; } onChanged(); } else { - reservationBuilder_.mergeFrom(value); + reservationIdBuilder_.mergeFrom(value); } return this; } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public Builder clearReservation() { - if (reservationBuilder_ == null) { - reservation_ = null; + public Builder clearReservationId() { + if (reservationIdBuilder_ == null) { + reservationId_ = null; onChanged(); } else { - reservation_ = null; - reservationBuilder_ = null; + reservationId_ = null; + reservationIdBuilder_ = null; } return this; } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public datacatalog.Datacatalog.Reservation.Builder getReservationBuilder() { + public datacatalog.Datacatalog.ReservationID.Builder getReservationIdBuilder() { onChanged(); - return getReservationFieldBuilder().getBuilder(); + return getReservationIdFieldBuilder().getBuilder(); } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ - public datacatalog.Datacatalog.ReservationOrBuilder getReservationOrBuilder() { - if (reservationBuilder_ != null) { - return reservationBuilder_.getMessageOrBuilder(); + public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { + if (reservationIdBuilder_ != null) { + return reservationIdBuilder_.getMessageOrBuilder(); } else { - return reservation_ == null ? - datacatalog.Datacatalog.Reservation.getDefaultInstance() : reservation_; + return reservationId_ == null ? + datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; } } /** *
-       * The reservation to be acquired or extended
+       * The unique ID for the reservation
        * 
* - * .datacatalog.Reservation reservation = 1; + * .datacatalog.ReservationID reservation_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder> - getReservationFieldBuilder() { - if (reservationBuilder_ == null) { - reservationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.Reservation, datacatalog.Datacatalog.Reservation.Builder, datacatalog.Datacatalog.ReservationOrBuilder>( - getReservation(), + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> + getReservationIdFieldBuilder() { + if (reservationIdBuilder_ == null) { + reservationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder>( + getReservationId(), getParentForChildren(), isClean()); - reservation_ = null; + reservationId_ = null; } - return reservationBuilder_; + return reservationIdBuilder_; + } + + private java.lang.Object ownerId_ = ""; + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public java.lang.String getOwnerId() { + java.lang.Object ref = ownerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ownerId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public com.google.protobuf.ByteString + getOwnerIdBytes() { + java.lang.Object ref = ownerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ownerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder setOwnerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + ownerId_ = value; + onChanged(); + return this; + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder clearOwnerId() { + + ownerId_ = getDefaultInstance().getOwnerId(); + onChanged(); + return this; + } + /** + *
+       * The unique ID of the owner for the reservation
+       * 
+ * + * string owner_id = 2; + */ + public Builder setOwnerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + ownerId_ = value; + onChanged(); + return this; } @java.lang.Override public final Builder setUnknownFields( @@ -16605,111 +21644,112 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datacatalog.GetOrExtendReservationResponse) + // @@protoc_insertion_point(builder_scope:datacatalog.ReleaseReservationRequest) } - // @@protoc_insertion_point(class_scope:datacatalog.GetOrExtendReservationResponse) - private static final datacatalog.Datacatalog.GetOrExtendReservationResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationRequest) + private static final datacatalog.Datacatalog.ReleaseReservationRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.GetOrExtendReservationResponse(); + DEFAULT_INSTANCE = new datacatalog.Datacatalog.ReleaseReservationRequest(); } - public static datacatalog.Datacatalog.GetOrExtendReservationResponse getDefaultInstance() { + public static datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public GetOrExtendReservationResponse parsePartialFrom( + public ReleaseReservationRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetOrExtendReservationResponse(input, extensionRegistry); + return new ReleaseReservationRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public datacatalog.Datacatalog.GetOrExtendReservationResponse getDefaultInstanceForType() { + public datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ReleaseReservationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:datacatalog.ReleaseReservationRequest) + public interface ReleaseReservationsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:datacatalog.ReleaseReservationsRequest) com.google.protobuf.MessageOrBuilder { /** *
-     * The unique ID for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - boolean hasReservationId(); + java.util.List + getReservationsList(); /** *
-     * The unique ID for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - datacatalog.Datacatalog.ReservationID getReservationId(); + datacatalog.Datacatalog.ReleaseReservationRequest getReservations(int index); /** *
-     * The unique ID for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder(); - + int getReservationsCount(); /** *
-     * The unique ID of the owner for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - java.lang.String getOwnerId(); + java.util.List + getReservationsOrBuilderList(); /** *
-     * The unique ID of the owner for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - com.google.protobuf.ByteString - getOwnerIdBytes(); + datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder getReservationsOrBuilder( + int index); } /** *
-   * Request to release reservation
+   * Request message for releasing reservations for multiple artifacts in a single operation.
    * 
* - * Protobuf type {@code datacatalog.ReleaseReservationRequest} + * Protobuf type {@code datacatalog.ReleaseReservationsRequest} */ - public static final class ReleaseReservationRequest extends + public static final class ReleaseReservationsRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:datacatalog.ReleaseReservationRequest) - ReleaseReservationRequestOrBuilder { + // @@protoc_insertion_point(message_implements:datacatalog.ReleaseReservationsRequest) + ReleaseReservationsRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use ReleaseReservationRequest.newBuilder() to construct. - private ReleaseReservationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ReleaseReservationsRequest.newBuilder() to construct. + private ReleaseReservationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReleaseReservationRequest() { - ownerId_ = ""; + private ReleaseReservationsRequest() { + reservations_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -16717,7 +21757,7 @@ private ReleaseReservationRequest() { getUnknownFields() { return this.unknownFields; } - private ReleaseReservationRequest( + private ReleaseReservationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -16737,22 +21777,12 @@ private ReleaseReservationRequest( done = true; break; case 10: { - datacatalog.Datacatalog.ReservationID.Builder subBuilder = null; - if (reservationId_ != null) { - subBuilder = reservationId_.toBuilder(); - } - reservationId_ = input.readMessage(datacatalog.Datacatalog.ReservationID.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(reservationId_); - reservationId_ = subBuilder.buildPartial(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + reservations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - ownerId_ = s; + reservations_.add( + input.readMessage(datacatalog.Datacatalog.ReleaseReservationRequest.parser(), extensionRegistry)); break; } default: { @@ -16770,96 +21800,79 @@ private ReleaseReservationRequest( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + reservations_ = java.util.Collections.unmodifiableList(reservations_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReleaseReservationRequest.class, datacatalog.Datacatalog.ReleaseReservationRequest.Builder.class); + datacatalog.Datacatalog.ReleaseReservationsRequest.class, datacatalog.Datacatalog.ReleaseReservationsRequest.Builder.class); } - public static final int RESERVATION_ID_FIELD_NUMBER = 1; - private datacatalog.Datacatalog.ReservationID reservationId_; + public static final int RESERVATIONS_FIELD_NUMBER = 1; + private java.util.List reservations_; /** *
-     * The unique ID for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public boolean hasReservationId() { - return reservationId_ != null; + public java.util.List getReservationsList() { + return reservations_; } /** *
-     * The unique ID for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public datacatalog.Datacatalog.ReservationID getReservationId() { - return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + public java.util.List + getReservationsOrBuilderList() { + return reservations_; } /** *
-     * The unique ID for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { - return getReservationId(); + public int getReservationsCount() { + return reservations_.size(); } - - public static final int OWNER_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object ownerId_; /** *
-     * The unique ID of the owner for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public java.lang.String getOwnerId() { - java.lang.Object ref = ownerId_; - 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(); - ownerId_ = s; - return s; - } + public datacatalog.Datacatalog.ReleaseReservationRequest getReservations(int index) { + return reservations_.get(index); } /** *
-     * The unique ID of the owner for the reservation
+     * List of reservation requests for artifacts to release
      * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public com.google.protobuf.ByteString - getOwnerIdBytes() { - java.lang.Object ref = ownerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder getReservationsOrBuilder( + int index) { + return reservations_.get(index); } private byte memoizedIsInitialized = -1; @@ -16876,11 +21889,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (reservationId_ != null) { - output.writeMessage(1, getReservationId()); - } - if (!getOwnerIdBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ownerId_); + for (int i = 0; i < reservations_.size(); i++) { + output.writeMessage(1, reservations_.get(i)); } unknownFields.writeTo(output); } @@ -16891,12 +21901,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (reservationId_ != null) { + for (int i = 0; i < reservations_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReservationId()); - } - if (!getOwnerIdBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ownerId_); + .computeMessageSize(1, reservations_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -16908,18 +21915,13 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof datacatalog.Datacatalog.ReleaseReservationRequest)) { + if (!(obj instanceof datacatalog.Datacatalog.ReleaseReservationsRequest)) { return super.equals(obj); } - datacatalog.Datacatalog.ReleaseReservationRequest other = (datacatalog.Datacatalog.ReleaseReservationRequest) obj; + datacatalog.Datacatalog.ReleaseReservationsRequest other = (datacatalog.Datacatalog.ReleaseReservationsRequest) obj; - if (hasReservationId() != other.hasReservationId()) return false; - if (hasReservationId()) { - if (!getReservationId() - .equals(other.getReservationId())) return false; - } - if (!getOwnerId() - .equals(other.getOwnerId())) return false; + if (!getReservationsList() + .equals(other.getReservationsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -16931,80 +21933,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (hasReservationId()) { - hash = (37 * hash) + RESERVATION_ID_FIELD_NUMBER; - hash = (53 * hash) + getReservationId().hashCode(); + if (getReservationsCount() > 0) { + hash = (37 * hash) + RESERVATIONS_FIELD_NUMBER; + hash = (53 * hash) + getReservationsList().hashCode(); } - hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; - hash = (53 * hash) + getOwnerId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom(byte[] data) + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest 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 datacatalog.Datacatalog.ReleaseReservationRequest parseDelimitedFrom(java.io.InputStream input) + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseDelimitedFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest 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 datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( + public static datacatalog.Datacatalog.ReleaseReservationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -17017,7 +22017,7 @@ public static datacatalog.Datacatalog.ReleaseReservationRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(datacatalog.Datacatalog.ReleaseReservationRequest prototype) { + public static Builder newBuilder(datacatalog.Datacatalog.ReleaseReservationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -17034,29 +22034,29 @@ protected Builder newBuilderForType( } /** *
-     * Request to release reservation
+     * Request message for releasing reservations for multiple artifacts in a single operation.
      * 
* - * Protobuf type {@code datacatalog.ReleaseReservationRequest} + * Protobuf type {@code datacatalog.ReleaseReservationsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:datacatalog.ReleaseReservationRequest) - datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:datacatalog.ReleaseReservationsRequest) + datacatalog.Datacatalog.ReleaseReservationsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - datacatalog.Datacatalog.ReleaseReservationRequest.class, datacatalog.Datacatalog.ReleaseReservationRequest.Builder.class); + datacatalog.Datacatalog.ReleaseReservationsRequest.class, datacatalog.Datacatalog.ReleaseReservationsRequest.Builder.class); } - // Construct using datacatalog.Datacatalog.ReleaseReservationRequest.newBuilder() + // Construct using datacatalog.Datacatalog.ReleaseReservationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -17069,36 +22069,35 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getReservationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); - if (reservationIdBuilder_ == null) { - reservationId_ = null; + if (reservationsBuilder_ == null) { + reservations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); } else { - reservationId_ = null; - reservationIdBuilder_ = null; + reservationsBuilder_.clear(); } - ownerId_ = ""; - return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationRequest_descriptor; + return datacatalog.Datacatalog.internal_static_datacatalog_ReleaseReservationsRequest_descriptor; } @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstanceForType() { - return datacatalog.Datacatalog.ReleaseReservationRequest.getDefaultInstance(); + public datacatalog.Datacatalog.ReleaseReservationsRequest getDefaultInstanceForType() { + return datacatalog.Datacatalog.ReleaseReservationsRequest.getDefaultInstance(); } @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationRequest build() { - datacatalog.Datacatalog.ReleaseReservationRequest result = buildPartial(); + public datacatalog.Datacatalog.ReleaseReservationsRequest build() { + datacatalog.Datacatalog.ReleaseReservationsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -17106,14 +22105,18 @@ public datacatalog.Datacatalog.ReleaseReservationRequest build() { } @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationRequest buildPartial() { - datacatalog.Datacatalog.ReleaseReservationRequest result = new datacatalog.Datacatalog.ReleaseReservationRequest(this); - if (reservationIdBuilder_ == null) { - result.reservationId_ = reservationId_; + public datacatalog.Datacatalog.ReleaseReservationsRequest buildPartial() { + datacatalog.Datacatalog.ReleaseReservationsRequest result = new datacatalog.Datacatalog.ReleaseReservationsRequest(this); + int from_bitField0_ = bitField0_; + if (reservationsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + reservations_ = java.util.Collections.unmodifiableList(reservations_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.reservations_ = reservations_; } else { - result.reservationId_ = reservationIdBuilder_.build(); + result.reservations_ = reservationsBuilder_.build(); } - result.ownerId_ = ownerId_; onBuilt(); return result; } @@ -17152,22 +22155,41 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof datacatalog.Datacatalog.ReleaseReservationRequest) { - return mergeFrom((datacatalog.Datacatalog.ReleaseReservationRequest)other); + if (other instanceof datacatalog.Datacatalog.ReleaseReservationsRequest) { + return mergeFrom((datacatalog.Datacatalog.ReleaseReservationsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(datacatalog.Datacatalog.ReleaseReservationRequest other) { - if (other == datacatalog.Datacatalog.ReleaseReservationRequest.getDefaultInstance()) return this; - if (other.hasReservationId()) { - mergeReservationId(other.getReservationId()); - } - if (!other.getOwnerId().isEmpty()) { - ownerId_ = other.ownerId_; - onChanged(); + public Builder mergeFrom(datacatalog.Datacatalog.ReleaseReservationsRequest other) { + if (other == datacatalog.Datacatalog.ReleaseReservationsRequest.getDefaultInstance()) return this; + if (reservationsBuilder_ == null) { + if (!other.reservations_.isEmpty()) { + if (reservations_.isEmpty()) { + reservations_ = other.reservations_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureReservationsIsMutable(); + reservations_.addAll(other.reservations_); + } + onChanged(); + } + } else { + if (!other.reservations_.isEmpty()) { + if (reservationsBuilder_.isEmpty()) { + reservationsBuilder_.dispose(); + reservationsBuilder_ = null; + reservations_ = other.reservations_; + bitField0_ = (bitField0_ & ~0x00000001); + reservationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReservationsFieldBuilder() : null; + } else { + reservationsBuilder_.addAllMessages(other.reservations_); + } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -17184,11 +22206,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - datacatalog.Datacatalog.ReleaseReservationRequest parsedMessage = null; + datacatalog.Datacatalog.ReleaseReservationsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (datacatalog.Datacatalog.ReleaseReservationRequest) e.getUnfinishedMessage(); + parsedMessage = (datacatalog.Datacatalog.ReleaseReservationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17197,247 +22219,318 @@ public Builder mergeFrom( } return this; } - - private datacatalog.Datacatalog.ReservationID reservationId_; - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> reservationIdBuilder_; + private int bitField0_; + + private java.util.List reservations_ = + java.util.Collections.emptyList(); + private void ensureReservationsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + reservations_ = new java.util.ArrayList(reservations_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.ReleaseReservationRequest, datacatalog.Datacatalog.ReleaseReservationRequest.Builder, datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder> reservationsBuilder_; + + /** + *
+       * List of reservation requests for artifacts to release
+       * 
+ * + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; + */ + public java.util.List getReservationsList() { + if (reservationsBuilder_ == null) { + return java.util.Collections.unmodifiableList(reservations_); + } else { + return reservationsBuilder_.getMessageList(); + } + } + /** + *
+       * List of reservation requests for artifacts to release
+       * 
+ * + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; + */ + public int getReservationsCount() { + if (reservationsBuilder_ == null) { + return reservations_.size(); + } else { + return reservationsBuilder_.getCount(); + } + } + /** + *
+       * List of reservation requests for artifacts to release
+       * 
+ * + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; + */ + public datacatalog.Datacatalog.ReleaseReservationRequest getReservations(int index) { + if (reservationsBuilder_ == null) { + return reservations_.get(index); + } else { + return reservationsBuilder_.getMessage(index); + } + } + /** + *
+       * List of reservation requests for artifacts to release
+       * 
+ * + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; + */ + public Builder setReservations( + int index, datacatalog.Datacatalog.ReleaseReservationRequest value) { + if (reservationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationsIsMutable(); + reservations_.set(index, value); + onChanged(); + } else { + reservationsBuilder_.setMessage(index, value); + } + return this; + } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public boolean hasReservationId() { - return reservationIdBuilder_ != null || reservationId_ != null; + public Builder setReservations( + int index, datacatalog.Datacatalog.ReleaseReservationRequest.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.set(index, builderForValue.build()); + onChanged(); + } else { + reservationsBuilder_.setMessage(index, builderForValue.build()); + } + return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public datacatalog.Datacatalog.ReservationID getReservationId() { - if (reservationIdBuilder_ == null) { - return reservationId_ == null ? datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + public Builder addReservations(datacatalog.Datacatalog.ReleaseReservationRequest value) { + if (reservationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReservationsIsMutable(); + reservations_.add(value); + onChanged(); } else { - return reservationIdBuilder_.getMessage(); + reservationsBuilder_.addMessage(value); } + return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public Builder setReservationId(datacatalog.Datacatalog.ReservationID value) { - if (reservationIdBuilder_ == null) { + public Builder addReservations( + int index, datacatalog.Datacatalog.ReleaseReservationRequest value) { + if (reservationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - reservationId_ = value; + ensureReservationsIsMutable(); + reservations_.add(index, value); onChanged(); } else { - reservationIdBuilder_.setMessage(value); + reservationsBuilder_.addMessage(index, value); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public Builder setReservationId( - datacatalog.Datacatalog.ReservationID.Builder builderForValue) { - if (reservationIdBuilder_ == null) { - reservationId_ = builderForValue.build(); + public Builder addReservations( + datacatalog.Datacatalog.ReleaseReservationRequest.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.add(builderForValue.build()); onChanged(); } else { - reservationIdBuilder_.setMessage(builderForValue.build()); + reservationsBuilder_.addMessage(builderForValue.build()); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public Builder mergeReservationId(datacatalog.Datacatalog.ReservationID value) { - if (reservationIdBuilder_ == null) { - if (reservationId_ != null) { - reservationId_ = - datacatalog.Datacatalog.ReservationID.newBuilder(reservationId_).mergeFrom(value).buildPartial(); - } else { - reservationId_ = value; - } + public Builder addReservations( + int index, datacatalog.Datacatalog.ReleaseReservationRequest.Builder builderForValue) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.add(index, builderForValue.build()); onChanged(); } else { - reservationIdBuilder_.mergeFrom(value); + reservationsBuilder_.addMessage(index, builderForValue.build()); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public Builder clearReservationId() { - if (reservationIdBuilder_ == null) { - reservationId_ = null; + public Builder addAllReservations( + java.lang.Iterable values) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reservations_); onChanged(); } else { - reservationId_ = null; - reservationIdBuilder_ = null; + reservationsBuilder_.addAllMessages(values); } - return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public datacatalog.Datacatalog.ReservationID.Builder getReservationIdBuilder() { - - onChanged(); - return getReservationIdFieldBuilder().getBuilder(); + public Builder clearReservations() { + if (reservationsBuilder_ == null) { + reservations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + reservationsBuilder_.clear(); + } + return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public datacatalog.Datacatalog.ReservationIDOrBuilder getReservationIdOrBuilder() { - if (reservationIdBuilder_ != null) { - return reservationIdBuilder_.getMessageOrBuilder(); + public Builder removeReservations(int index) { + if (reservationsBuilder_ == null) { + ensureReservationsIsMutable(); + reservations_.remove(index); + onChanged(); } else { - return reservationId_ == null ? - datacatalog.Datacatalog.ReservationID.getDefaultInstance() : reservationId_; + reservationsBuilder_.remove(index); } + return this; } /** *
-       * The unique ID for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * .datacatalog.ReservationID reservation_id = 1; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder> - getReservationIdFieldBuilder() { - if (reservationIdBuilder_ == null) { - reservationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - datacatalog.Datacatalog.ReservationID, datacatalog.Datacatalog.ReservationID.Builder, datacatalog.Datacatalog.ReservationIDOrBuilder>( - getReservationId(), - getParentForChildren(), - isClean()); - reservationId_ = null; - } - return reservationIdBuilder_; + public datacatalog.Datacatalog.ReleaseReservationRequest.Builder getReservationsBuilder( + int index) { + return getReservationsFieldBuilder().getBuilder(index); } - - private java.lang.Object ownerId_ = ""; /** *
-       * The unique ID of the owner for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public java.lang.String getOwnerId() { - java.lang.Object ref = ownerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ownerId_ = s; - return s; - } else { - return (java.lang.String) ref; + public datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder getReservationsOrBuilder( + int index) { + if (reservationsBuilder_ == null) { + return reservations_.get(index); } else { + return reservationsBuilder_.getMessageOrBuilder(index); } } /** *
-       * The unique ID of the owner for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public com.google.protobuf.ByteString - getOwnerIdBytes() { - java.lang.Object ref = ownerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ownerId_ = b; - return b; + public java.util.List + getReservationsOrBuilderList() { + if (reservationsBuilder_ != null) { + return reservationsBuilder_.getMessageOrBuilderList(); } else { - return (com.google.protobuf.ByteString) ref; + return java.util.Collections.unmodifiableList(reservations_); } } /** *
-       * The unique ID of the owner for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public Builder setOwnerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - ownerId_ = value; - onChanged(); - return this; + public datacatalog.Datacatalog.ReleaseReservationRequest.Builder addReservationsBuilder() { + return getReservationsFieldBuilder().addBuilder( + datacatalog.Datacatalog.ReleaseReservationRequest.getDefaultInstance()); } /** *
-       * The unique ID of the owner for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public Builder clearOwnerId() { - - ownerId_ = getDefaultInstance().getOwnerId(); - onChanged(); - return this; + public datacatalog.Datacatalog.ReleaseReservationRequest.Builder addReservationsBuilder( + int index) { + return getReservationsFieldBuilder().addBuilder( + index, datacatalog.Datacatalog.ReleaseReservationRequest.getDefaultInstance()); } /** *
-       * The unique ID of the owner for the reservation
+       * List of reservation requests for artifacts to release
        * 
* - * string owner_id = 2; + * repeated .datacatalog.ReleaseReservationRequest reservations = 1; */ - public Builder setOwnerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - ownerId_ = value; - onChanged(); - return this; + public java.util.List + getReservationsBuilderList() { + return getReservationsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.ReleaseReservationRequest, datacatalog.Datacatalog.ReleaseReservationRequest.Builder, datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder> + getReservationsFieldBuilder() { + if (reservationsBuilder_ == null) { + reservationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + datacatalog.Datacatalog.ReleaseReservationRequest, datacatalog.Datacatalog.ReleaseReservationRequest.Builder, datacatalog.Datacatalog.ReleaseReservationRequestOrBuilder>( + reservations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + reservations_ = null; + } + return reservationsBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -17452,41 +22545,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:datacatalog.ReleaseReservationRequest) + // @@protoc_insertion_point(builder_scope:datacatalog.ReleaseReservationsRequest) } - // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationRequest) - private static final datacatalog.Datacatalog.ReleaseReservationRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:datacatalog.ReleaseReservationsRequest) + private static final datacatalog.Datacatalog.ReleaseReservationsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new datacatalog.Datacatalog.ReleaseReservationRequest(); + DEFAULT_INSTANCE = new datacatalog.Datacatalog.ReleaseReservationsRequest(); } - public static datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstance() { + public static datacatalog.Datacatalog.ReleaseReservationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ReleaseReservationRequest parsePartialFrom( + public ReleaseReservationsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ReleaseReservationRequest(input, extensionRegistry); + return new ReleaseReservationsRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public datacatalog.Datacatalog.ReleaseReservationRequest getDefaultInstanceForType() { + public datacatalog.Datacatalog.ReleaseReservationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -33440,6 +38533,21 @@ public datacatalog.Datacatalog.PaginationOptions getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_datacatalog_UpdateArtifactResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datacatalog_DeleteArtifactRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datacatalog_DeleteArtifactRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datacatalog_DeleteArtifactsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datacatalog_DeleteArtifactsRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datacatalog_DeleteArtifactResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datacatalog_DeleteArtifactResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_datacatalog_ReservationID_descriptor; private static final @@ -33450,6 +38558,11 @@ public datacatalog.Datacatalog.PaginationOptions getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_datacatalog_GetOrExtendReservationRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datacatalog_GetOrExtendReservationsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datacatalog_GetOrExtendReservationsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_datacatalog_Reservation_descriptor; private static final @@ -33460,11 +38573,21 @@ public datacatalog.Datacatalog.PaginationOptions getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_datacatalog_GetOrExtendReservationResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datacatalog_GetOrExtendReservationsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datacatalog_GetOrExtendReservationsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_datacatalog_ReleaseReservationRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_datacatalog_ReleaseReservationsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_datacatalog_ReleaseReservationsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_datacatalog_ReleaseReservationResponse_descriptor; private static final @@ -33593,94 +38716,117 @@ public datacatalog.Datacatalog.PaginationOptions getDefaultInstanceForType() { "_id\030\002 \001(\tH\000\022\022\n\010tag_name\030\003 \001(\tH\000\022\'\n\004data\030" + "\004 \003(\0132\031.datacatalog.ArtifactDataB\016\n\014quer" + "y_handle\"-\n\026UpdateArtifactResponse\022\023\n\013ar" + - "tifact_id\030\001 \001(\t\"M\n\rReservationID\022*\n\ndata" + - "set_id\030\001 \001(\0132\026.datacatalog.DatasetID\022\020\n\010" + - "tag_name\030\002 \001(\t\"\234\001\n\035GetOrExtendReservatio" + + "tifact_id\030\001 \001(\t\"{\n\025DeleteArtifactRequest" + + "\022\'\n\007dataset\030\001 \001(\0132\026.datacatalog.DatasetI" + + "D\022\025\n\013artifact_id\030\002 \001(\tH\000\022\022\n\010tag_name\030\003 \001" + + "(\tH\000B\016\n\014query_handle\"O\n\026DeleteArtifactsR" + + "equest\0225\n\tartifacts\030\001 \003(\0132\".datacatalog." + + "DeleteArtifactRequest\"\030\n\026DeleteArtifactR" + + "esponse\"M\n\rReservationID\022*\n\ndataset_id\030\001" + + " \001(\0132\026.datacatalog.DatasetID\022\020\n\010tag_name" + + "\030\002 \001(\t\"\234\001\n\035GetOrExtendReservationRequest" + + "\0222\n\016reservation_id\030\001 \001(\0132\032.datacatalog.R" + + "eservationID\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heartb" + + "eat_interval\030\003 \001(\0132\031.google.protobuf.Dur" + + "ation\"b\n\036GetOrExtendReservationsRequest\022" + + "@\n\014reservations\030\001 \003(\0132*.datacatalog.GetO" + + "rExtendReservationRequest\"\343\001\n\013Reservatio" + + "n\0222\n\016reservation_id\030\001 \001(\0132\032.datacatalog." + + "ReservationID\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heart" + + "beat_interval\030\003 \001(\0132\031.google.protobuf.Du" + + "ration\022.\n\nexpires_at\030\004 \001(\0132\032.google.prot" + + "obuf.Timestamp\022\'\n\010metadata\030\006 \001(\0132\025.datac" + + "atalog.Metadata\"O\n\036GetOrExtendReservatio" + + "nResponse\022-\n\013reservation\030\001 \001(\0132\030.datacat" + + "alog.Reservation\"Q\n\037GetOrExtendReservati" + + "onsResponse\022.\n\014reservations\030\001 \003(\0132\030.data" + + "catalog.Reservation\"a\n\031ReleaseReservatio" + "nRequest\0222\n\016reservation_id\030\001 \001(\0132\032.datac" + - "atalog.ReservationID\022\020\n\010owner_id\030\002 \001(\t\0225" + - "\n\022heartbeat_interval\030\003 \001(\0132\031.google.prot" + - "obuf.Duration\"\343\001\n\013Reservation\0222\n\016reserva" + - "tion_id\030\001 \001(\0132\032.datacatalog.ReservationI" + - "D\022\020\n\010owner_id\030\002 \001(\t\0225\n\022heartbeat_interva" + - "l\030\003 \001(\0132\031.google.protobuf.Duration\022.\n\nex" + - "pires_at\030\004 \001(\0132\032.google.protobuf.Timesta" + - "mp\022\'\n\010metadata\030\006 \001(\0132\025.datacatalog.Metad" + - "ata\"O\n\036GetOrExtendReservationResponse\022-\n" + - "\013reservation\030\001 \001(\0132\030.datacatalog.Reserva" + - "tion\"a\n\031ReleaseReservationRequest\0222\n\016res" + - "ervation_id\030\001 \001(\0132\032.datacatalog.Reservat" + - "ionID\022\020\n\010owner_id\030\002 \001(\t\"\034\n\032ReleaseReserv" + - "ationResponse\"m\n\007Dataset\022\"\n\002id\030\001 \001(\0132\026.d" + - "atacatalog.DatasetID\022\'\n\010metadata\030\002 \001(\0132\025" + - ".datacatalog.Metadata\022\025\n\rpartitionKeys\030\003" + - " \003(\t\"\'\n\tPartition\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + - "\002 \001(\t\"Y\n\tDatasetID\022\017\n\007project\030\001 \001(\t\022\014\n\004n" + - "ame\030\002 \001(\t\022\016\n\006domain\030\003 \001(\t\022\017\n\007version\030\004 \001" + - "(\t\022\014\n\004UUID\030\005 \001(\t\"\215\002\n\010Artifact\022\n\n\002id\030\001 \001(" + - "\t\022\'\n\007dataset\030\002 \001(\0132\026.datacatalog.Dataset" + - "ID\022\'\n\004data\030\003 \003(\0132\031.datacatalog.ArtifactD" + - "ata\022\'\n\010metadata\030\004 \001(\0132\025.datacatalog.Meta" + - "data\022*\n\npartitions\030\005 \003(\0132\026.datacatalog.P" + - "artition\022\036\n\004tags\030\006 \003(\0132\020.datacatalog.Tag" + - "\022.\n\ncreated_at\030\007 \001(\0132\032.google.protobuf.T" + - "imestamp\"C\n\014ArtifactData\022\014\n\004name\030\001 \001(\t\022%" + - "\n\005value\030\002 \001(\0132\026.flyteidl.core.Literal\"Q\n" + - "\003Tag\022\014\n\004name\030\001 \001(\t\022\023\n\013artifact_id\030\002 \001(\t\022" + - "\'\n\007dataset\030\003 \001(\0132\026.datacatalog.DatasetID" + - "\"m\n\010Metadata\0222\n\007key_map\030\001 \003(\0132!.datacata" + - "log.Metadata.KeyMapEntry\032-\n\013KeyMapEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"F\n\020Filte" + - "rExpression\0222\n\007filters\030\001 \003(\0132!.datacatal" + - "og.SinglePropertyFilter\"\211\003\n\024SingleProper" + - "tyFilter\0224\n\ntag_filter\030\001 \001(\0132\036.datacatal" + - "og.TagPropertyFilterH\000\022@\n\020partition_filt" + - "er\030\002 \001(\0132$.datacatalog.PartitionProperty" + - "FilterH\000\022>\n\017artifact_filter\030\003 \001(\0132#.data" + - "catalog.ArtifactPropertyFilterH\000\022<\n\016data" + - "set_filter\030\004 \001(\0132\".datacatalog.DatasetPr" + - "opertyFilterH\000\022F\n\010operator\030\n \001(\01624.datac" + - "atalog.SinglePropertyFilter.ComparisonOp" + - "erator\" \n\022ComparisonOperator\022\n\n\006EQUALS\020\000" + - "B\021\n\017property_filter\";\n\026ArtifactPropertyF" + - "ilter\022\025\n\013artifact_id\030\001 \001(\tH\000B\n\n\010property" + - "\"3\n\021TagPropertyFilter\022\022\n\010tag_name\030\001 \001(\tH" + - "\000B\n\n\010property\"S\n\027PartitionPropertyFilter" + - "\022,\n\007key_val\030\001 \001(\0132\031.datacatalog.KeyValue" + - "PairH\000B\n\n\010property\"*\n\014KeyValuePair\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"k\n\025DatasetPropert" + - "yFilter\022\021\n\007project\030\001 \001(\tH\000\022\016\n\004name\030\002 \001(\t" + - "H\000\022\020\n\006domain\030\003 \001(\tH\000\022\021\n\007version\030\004 \001(\tH\000B" + - "\n\n\010property\"\361\001\n\021PaginationOptions\022\r\n\005lim" + - "it\030\001 \001(\r\022\r\n\005token\030\002 \001(\t\0227\n\007sortKey\030\003 \001(\016" + - "2&.datacatalog.PaginationOptions.SortKey" + - "\022;\n\tsortOrder\030\004 \001(\0162(.datacatalog.Pagina" + - "tionOptions.SortOrder\"*\n\tSortOrder\022\016\n\nDE" + - "SCENDING\020\000\022\r\n\tASCENDING\020\001\"\034\n\007SortKey\022\021\n\r" + - "CREATION_TIME\020\0002\206\007\n\013DataCatalog\022V\n\rCreat" + - "eDataset\022!.datacatalog.CreateDatasetRequ" + - "est\032\".datacatalog.CreateDatasetResponse\022" + - "M\n\nGetDataset\022\036.datacatalog.GetDatasetRe" + - "quest\032\037.datacatalog.GetDatasetResponse\022Y" + - "\n\016CreateArtifact\022\".datacatalog.CreateArt" + - "ifactRequest\032#.datacatalog.CreateArtifac" + - "tResponse\022P\n\013GetArtifact\022\037.datacatalog.G" + - "etArtifactRequest\032 .datacatalog.GetArtif" + - "actResponse\022A\n\006AddTag\022\032.datacatalog.AddT" + - "agRequest\032\033.datacatalog.AddTagResponse\022V" + - "\n\rListArtifacts\022!.datacatalog.ListArtifa" + - "ctsRequest\032\".datacatalog.ListArtifactsRe" + - "sponse\022S\n\014ListDatasets\022 .datacatalog.Lis" + - "tDatasetsRequest\032!.datacatalog.ListDatas" + - "etsResponse\022Y\n\016UpdateArtifact\022\".datacata" + - "log.UpdateArtifactRequest\032#.datacatalog." + - "UpdateArtifactResponse\022q\n\026GetOrExtendRes" + - "ervation\022*.datacatalog.GetOrExtendReserv" + - "ationRequest\032+.datacatalog.GetOrExtendRe" + - "servationResponse\022e\n\022ReleaseReservation\022" + - "&.datacatalog.ReleaseReservationRequest\032" + - "\'.datacatalog.ReleaseReservationResponse" + - "B=Z;github.com/flyteorg/flyteidl/gen/pb-" + - "go/flyteidl/datacatalogb\006proto3" + "atalog.ReservationID\022\020\n\010owner_id\030\002 \001(\t\"Z" + + "\n\032ReleaseReservationsRequest\022<\n\014reservat" + + "ions\030\001 \003(\0132&.datacatalog.ReleaseReservat" + + "ionRequest\"\034\n\032ReleaseReservationResponse" + + "\"m\n\007Dataset\022\"\n\002id\030\001 \001(\0132\026.datacatalog.Da" + + "tasetID\022\'\n\010metadata\030\002 \001(\0132\025.datacatalog." + + "Metadata\022\025\n\rpartitionKeys\030\003 \003(\t\"\'\n\tParti" + + "tion\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"Y\n\tData" + + "setID\022\017\n\007project\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\016\n\006" + + "domain\030\003 \001(\t\022\017\n\007version\030\004 \001(\t\022\014\n\004UUID\030\005 " + + "\001(\t\"\215\002\n\010Artifact\022\n\n\002id\030\001 \001(\t\022\'\n\007dataset\030" + + "\002 \001(\0132\026.datacatalog.DatasetID\022\'\n\004data\030\003 " + + "\003(\0132\031.datacatalog.ArtifactData\022\'\n\010metada" + + "ta\030\004 \001(\0132\025.datacatalog.Metadata\022*\n\nparti" + + "tions\030\005 \003(\0132\026.datacatalog.Partition\022\036\n\004t" + + "ags\030\006 \003(\0132\020.datacatalog.Tag\022.\n\ncreated_a" + + "t\030\007 \001(\0132\032.google.protobuf.Timestamp\"C\n\014A" + + "rtifactData\022\014\n\004name\030\001 \001(\t\022%\n\005value\030\002 \001(\013" + + "2\026.flyteidl.core.Literal\"Q\n\003Tag\022\014\n\004name\030" + + "\001 \001(\t\022\023\n\013artifact_id\030\002 \001(\t\022\'\n\007dataset\030\003 " + + "\001(\0132\026.datacatalog.DatasetID\"m\n\010Metadata\022" + + "2\n\007key_map\030\001 \003(\0132!.datacatalog.Metadata." + + "KeyMapEntry\032-\n\013KeyMapEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\"F\n\020FilterExpression\0222" + + "\n\007filters\030\001 \003(\0132!.datacatalog.SingleProp" + + "ertyFilter\"\211\003\n\024SinglePropertyFilter\0224\n\nt" + + "ag_filter\030\001 \001(\0132\036.datacatalog.TagPropert" + + "yFilterH\000\022@\n\020partition_filter\030\002 \001(\0132$.da" + + "tacatalog.PartitionPropertyFilterH\000\022>\n\017a" + + "rtifact_filter\030\003 \001(\0132#.datacatalog.Artif" + + "actPropertyFilterH\000\022<\n\016dataset_filter\030\004 " + + "\001(\0132\".datacatalog.DatasetPropertyFilterH" + + "\000\022F\n\010operator\030\n \001(\01624.datacatalog.Single" + + "PropertyFilter.ComparisonOperator\" \n\022Com" + + "parisonOperator\022\n\n\006EQUALS\020\000B\021\n\017property_" + + "filter\";\n\026ArtifactPropertyFilter\022\025\n\013arti" + + "fact_id\030\001 \001(\tH\000B\n\n\010property\"3\n\021TagProper" + + "tyFilter\022\022\n\010tag_name\030\001 \001(\tH\000B\n\n\010property" + + "\"S\n\027PartitionPropertyFilter\022,\n\007key_val\030\001" + + " \001(\0132\031.datacatalog.KeyValuePairH\000B\n\n\010pro" + + "perty\"*\n\014KeyValuePair\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t\"k\n\025DatasetPropertyFilter\022\021\n\007pr" + + "oject\030\001 \001(\tH\000\022\016\n\004name\030\002 \001(\tH\000\022\020\n\006domain\030" + + "\003 \001(\tH\000\022\021\n\007version\030\004 \001(\tH\000B\n\n\010property\"\361" + + "\001\n\021PaginationOptions\022\r\n\005limit\030\001 \001(\r\022\r\n\005t" + + "oken\030\002 \001(\t\0227\n\007sortKey\030\003 \001(\0162&.datacatalo" + + "g.PaginationOptions.SortKey\022;\n\tsortOrder" + + "\030\004 \001(\0162(.datacatalog.PaginationOptions.S" + + "ortOrder\"*\n\tSortOrder\022\016\n\nDESCENDING\020\000\022\r\n" + + "\tASCENDING\020\001\"\034\n\007SortKey\022\021\n\rCREATION_TIME" + + "\020\0002\235\n\n\013DataCatalog\022V\n\rCreateDataset\022!.da" + + "tacatalog.CreateDatasetRequest\032\".datacat" + + "alog.CreateDatasetResponse\022M\n\nGetDataset" + + "\022\036.datacatalog.GetDatasetRequest\032\037.datac" + + "atalog.GetDatasetResponse\022Y\n\016CreateArtif" + + "act\022\".datacatalog.CreateArtifactRequest\032" + + "#.datacatalog.CreateArtifactResponse\022P\n\013" + + "GetArtifact\022\037.datacatalog.GetArtifactReq" + + "uest\032 .datacatalog.GetArtifactResponse\022A" + + "\n\006AddTag\022\032.datacatalog.AddTagRequest\032\033.d" + + "atacatalog.AddTagResponse\022V\n\rListArtifac" + + "ts\022!.datacatalog.ListArtifactsRequest\032\"." + + "datacatalog.ListArtifactsResponse\022S\n\014Lis" + + "tDatasets\022 .datacatalog.ListDatasetsRequ" + + "est\032!.datacatalog.ListDatasetsResponse\022Y" + + "\n\016UpdateArtifact\022\".datacatalog.UpdateArt" + + "ifactRequest\032#.datacatalog.UpdateArtifac" + + "tResponse\022Y\n\016DeleteArtifact\022\".datacatalo" + + "g.DeleteArtifactRequest\032#.datacatalog.De" + + "leteArtifactResponse\022[\n\017DeleteArtifacts\022" + + "#.datacatalog.DeleteArtifactsRequest\032#.d" + + "atacatalog.DeleteArtifactResponse\022q\n\026Get" + + "OrExtendReservation\022*.datacatalog.GetOrE" + + "xtendReservationRequest\032+.datacatalog.Ge" + + "tOrExtendReservationResponse\022t\n\027GetOrExt" + + "endReservations\022+.datacatalog.GetOrExten" + + "dReservationsRequest\032,.datacatalog.GetOr" + + "ExtendReservationsResponse\022e\n\022ReleaseRes" + + "ervation\022&.datacatalog.ReleaseReservatio" + + "nRequest\032\'.datacatalog.ReleaseReservatio" + + "nResponse\022g\n\023ReleaseReservations\022\'.datac" + + "atalog.ReleaseReservationsRequest\032\'.data" + + "catalog.ReleaseReservationResponseB=Z;gi" + + "thub.com/flyteorg/flyteidl/gen/pb-go/fly" + + "teidl/datacatalogb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -33793,80 +38939,116 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_UpdateArtifactResponse_descriptor, new java.lang.String[] { "ArtifactId", }); - internal_static_datacatalog_ReservationID_descriptor = + internal_static_datacatalog_DeleteArtifactRequest_descriptor = getDescriptor().getMessageTypes().get(16); + internal_static_datacatalog_DeleteArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datacatalog_DeleteArtifactRequest_descriptor, + new java.lang.String[] { "Dataset", "ArtifactId", "TagName", "QueryHandle", }); + internal_static_datacatalog_DeleteArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_datacatalog_DeleteArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datacatalog_DeleteArtifactsRequest_descriptor, + new java.lang.String[] { "Artifacts", }); + internal_static_datacatalog_DeleteArtifactResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_datacatalog_DeleteArtifactResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datacatalog_DeleteArtifactResponse_descriptor, + new java.lang.String[] { }); + internal_static_datacatalog_ReservationID_descriptor = + getDescriptor().getMessageTypes().get(19); internal_static_datacatalog_ReservationID_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_ReservationID_descriptor, new java.lang.String[] { "DatasetId", "TagName", }); internal_static_datacatalog_GetOrExtendReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(20); internal_static_datacatalog_GetOrExtendReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_GetOrExtendReservationRequest_descriptor, new java.lang.String[] { "ReservationId", "OwnerId", "HeartbeatInterval", }); + internal_static_datacatalog_GetOrExtendReservationsRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_datacatalog_GetOrExtendReservationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datacatalog_GetOrExtendReservationsRequest_descriptor, + new java.lang.String[] { "Reservations", }); internal_static_datacatalog_Reservation_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(22); internal_static_datacatalog_Reservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_Reservation_descriptor, new java.lang.String[] { "ReservationId", "OwnerId", "HeartbeatInterval", "ExpiresAt", "Metadata", }); internal_static_datacatalog_GetOrExtendReservationResponse_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(23); internal_static_datacatalog_GetOrExtendReservationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_GetOrExtendReservationResponse_descriptor, new java.lang.String[] { "Reservation", }); + internal_static_datacatalog_GetOrExtendReservationsResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_datacatalog_GetOrExtendReservationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datacatalog_GetOrExtendReservationsResponse_descriptor, + new java.lang.String[] { "Reservations", }); internal_static_datacatalog_ReleaseReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(25); internal_static_datacatalog_ReleaseReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_ReleaseReservationRequest_descriptor, new java.lang.String[] { "ReservationId", "OwnerId", }); + internal_static_datacatalog_ReleaseReservationsRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_datacatalog_ReleaseReservationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_datacatalog_ReleaseReservationsRequest_descriptor, + new java.lang.String[] { "Reservations", }); internal_static_datacatalog_ReleaseReservationResponse_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(27); internal_static_datacatalog_ReleaseReservationResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_ReleaseReservationResponse_descriptor, new java.lang.String[] { }); internal_static_datacatalog_Dataset_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(28); internal_static_datacatalog_Dataset_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_Dataset_descriptor, new java.lang.String[] { "Id", "Metadata", "PartitionKeys", }); internal_static_datacatalog_Partition_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(29); internal_static_datacatalog_Partition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_Partition_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_datacatalog_DatasetID_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(30); internal_static_datacatalog_DatasetID_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_DatasetID_descriptor, new java.lang.String[] { "Project", "Name", "Domain", "Version", "UUID", }); internal_static_datacatalog_Artifact_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(31); internal_static_datacatalog_Artifact_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_Artifact_descriptor, new java.lang.String[] { "Id", "Dataset", "Data", "Metadata", "Partitions", "Tags", "CreatedAt", }); internal_static_datacatalog_ArtifactData_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(32); internal_static_datacatalog_ArtifactData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_ArtifactData_descriptor, new java.lang.String[] { "Name", "Value", }); internal_static_datacatalog_Tag_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(33); internal_static_datacatalog_Tag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_Tag_descriptor, new java.lang.String[] { "Name", "ArtifactId", "Dataset", }); internal_static_datacatalog_Metadata_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(34); internal_static_datacatalog_Metadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_Metadata_descriptor, @@ -33878,49 +39060,49 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_datacatalog_Metadata_KeyMapEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_datacatalog_FilterExpression_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(35); internal_static_datacatalog_FilterExpression_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_FilterExpression_descriptor, new java.lang.String[] { "Filters", }); internal_static_datacatalog_SinglePropertyFilter_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(36); internal_static_datacatalog_SinglePropertyFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_SinglePropertyFilter_descriptor, new java.lang.String[] { "TagFilter", "PartitionFilter", "ArtifactFilter", "DatasetFilter", "Operator", "PropertyFilter", }); internal_static_datacatalog_ArtifactPropertyFilter_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(37); internal_static_datacatalog_ArtifactPropertyFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_ArtifactPropertyFilter_descriptor, new java.lang.String[] { "ArtifactId", "Property", }); internal_static_datacatalog_TagPropertyFilter_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(38); internal_static_datacatalog_TagPropertyFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_TagPropertyFilter_descriptor, new java.lang.String[] { "TagName", "Property", }); internal_static_datacatalog_PartitionPropertyFilter_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(39); internal_static_datacatalog_PartitionPropertyFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_PartitionPropertyFilter_descriptor, new java.lang.String[] { "KeyVal", "Property", }); internal_static_datacatalog_KeyValuePair_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(40); internal_static_datacatalog_KeyValuePair_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_KeyValuePair_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_datacatalog_DatasetPropertyFilter_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(41); internal_static_datacatalog_DatasetPropertyFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_DatasetPropertyFilter_descriptor, new java.lang.String[] { "Project", "Name", "Domain", "Version", "Property", }); internal_static_datacatalog_PaginationOptions_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(42); internal_static_datacatalog_PaginationOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_datacatalog_PaginationOptions_descriptor, diff --git a/gen/pb-java/flyteidl/core/Errors.java b/gen/pb-java/flyteidl/core/Errors.java index a6ea3a8d5..a4a60b03e 100644 --- a/gen/pb-java/flyteidl/core/Errors.java +++ b/gen/pb-java/flyteidl/core/Errors.java @@ -1820,6 +1820,2563 @@ public flyteidl.core.Errors.ErrorDocument getDefaultInstanceForType() { } + public interface CacheEvictionErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.CacheEvictionError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Error code to match type of cache eviction error encountered.
+     * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + int getCodeValue(); + /** + *
+     * Error code to match type of cache eviction error encountered.
+     * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + flyteidl.core.Errors.CacheEvictionError.Code getCode(); + + /** + *
+     * More detailed error message explaining the reason for the cache eviction failure.
+     * 
+ * + * string message = 2; + */ + java.lang.String getMessage(); + /** + *
+     * More detailed error message explaining the reason for the cache eviction failure.
+     * 
+ * + * string message = 2; + */ + com.google.protobuf.ByteString + getMessageBytes(); + + /** + *
+     * ID of the node execution the cache eviction failed for.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + boolean hasNodeExecutionId(); + /** + *
+     * ID of the node execution the cache eviction failed for.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId(); + /** + *
+     * ID of the node execution the cache eviction failed for.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder(); + + /** + *
+     * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + boolean hasTaskExecutionId(); + /** + *
+     * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId(); + /** + *
+     * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder(); + + /** + *
+     * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + boolean hasWorkflowExecutionId(); + /** + *
+     * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId(); + /** + *
+     * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder(); + + public flyteidl.core.Errors.CacheEvictionError.SourceCase getSourceCase(); + } + /** + *
+   * Error returned if eviction of cached output fails and should be re-tried by the user.
+   * 
+ * + * Protobuf type {@code flyteidl.core.CacheEvictionError} + */ + public static final class CacheEvictionError extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.CacheEvictionError) + CacheEvictionErrorOrBuilder { + private static final long serialVersionUID = 0L; + // Use CacheEvictionError.newBuilder() to construct. + private CacheEvictionError(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CacheEvictionError() { + code_ = 0; + message_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CacheEvictionError( + 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 8: { + int rawValue = input.readEnum(); + + code_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + message_ = s; + break; + } + case 26: { + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder subBuilder = null; + if (nodeExecutionId_ != null) { + subBuilder = nodeExecutionId_.toBuilder(); + } + nodeExecutionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(nodeExecutionId_); + nodeExecutionId_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; + if (sourceCase_ == 4) { + subBuilder = ((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_).toBuilder(); + } + source_ = + input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 4; + break; + } + case 42: { + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (sourceCase_ == 5) { + subBuilder = ((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_).toBuilder(); + } + source_ = + input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionError_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.Errors.CacheEvictionError.class, flyteidl.core.Errors.CacheEvictionError.Builder.class); + } + + /** + *
+     * Defines codes for distinguishing between errors encountered during cache eviction.
+     * 
+ * + * Protobuf enum {@code flyteidl.core.CacheEvictionError.Code} + */ + public enum Code + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * Indicates a generic internal error occurred.
+       * 
+ * + * INTERNAL = 0; + */ + INTERNAL(0), + /** + *
+       * Indicates no reservation could be acquired before deleting an artifact.
+       * 
+ * + * RESERVATION_NOT_ACQUIRED = 1; + */ + RESERVATION_NOT_ACQUIRED(1), + /** + *
+       * Indicates updating the database entry related to the node execution failed.
+       * 
+ * + * DATABASE_UPDATE_FAILED = 2; + */ + DATABASE_UPDATE_FAILED(2), + /** + *
+       * Indicates deleting the artifact from datacatalog failed.
+       * 
+ * + * ARTIFACT_DELETE_FAILED = 3; + */ + ARTIFACT_DELETE_FAILED(3), + /** + *
+       * Indicates the reservation previously acquired could not be released for an artifact.
+       * 
+ * + * RESERVATION_NOT_RELEASED = 4; + */ + RESERVATION_NOT_RELEASED(4), + UNRECOGNIZED(-1), + ; + + /** + *
+       * Indicates a generic internal error occurred.
+       * 
+ * + * INTERNAL = 0; + */ + public static final int INTERNAL_VALUE = 0; + /** + *
+       * Indicates no reservation could be acquired before deleting an artifact.
+       * 
+ * + * RESERVATION_NOT_ACQUIRED = 1; + */ + public static final int RESERVATION_NOT_ACQUIRED_VALUE = 1; + /** + *
+       * Indicates updating the database entry related to the node execution failed.
+       * 
+ * + * DATABASE_UPDATE_FAILED = 2; + */ + public static final int DATABASE_UPDATE_FAILED_VALUE = 2; + /** + *
+       * Indicates deleting the artifact from datacatalog failed.
+       * 
+ * + * ARTIFACT_DELETE_FAILED = 3; + */ + public static final int ARTIFACT_DELETE_FAILED_VALUE = 3; + /** + *
+       * Indicates the reservation previously acquired could not be released for an artifact.
+       * 
+ * + * RESERVATION_NOT_RELEASED = 4; + */ + public static final int RESERVATION_NOT_RELEASED_VALUE = 4; + + + 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 Code valueOf(int value) { + return forNumber(value); + } + + public static Code forNumber(int value) { + switch (value) { + case 0: return INTERNAL; + case 1: return RESERVATION_NOT_ACQUIRED; + case 2: return DATABASE_UPDATE_FAILED; + case 3: return ARTIFACT_DELETE_FAILED; + case 4: return RESERVATION_NOT_RELEASED; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Code> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Code findValueByNumber(int number) { + return Code.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.core.Errors.CacheEvictionError.getDescriptor().getEnumTypes().get(0); + } + + private static final Code[] VALUES = values(); + + public static Code 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 Code(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:flyteidl.core.CacheEvictionError.Code) + } + + private int sourceCase_ = 0; + private java.lang.Object source_; + public enum SourceCase + implements com.google.protobuf.Internal.EnumLite { + TASK_EXECUTION_ID(4), + WORKFLOW_EXECUTION_ID(5), + SOURCE_NOT_SET(0); + private final int value; + private SourceCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 4: return TASK_EXECUTION_ID; + case 5: return WORKFLOW_EXECUTION_ID; + case 0: return SOURCE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); + } + + public static final int CODE_FIELD_NUMBER = 1; + private int code_; + /** + *
+     * Error code to match type of cache eviction error encountered.
+     * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + public int getCodeValue() { + return code_; + } + /** + *
+     * Error code to match type of cache eviction error encountered.
+     * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + public flyteidl.core.Errors.CacheEvictionError.Code getCode() { + @SuppressWarnings("deprecation") + flyteidl.core.Errors.CacheEvictionError.Code result = flyteidl.core.Errors.CacheEvictionError.Code.valueOf(code_); + return result == null ? flyteidl.core.Errors.CacheEvictionError.Code.UNRECOGNIZED : result; + } + + public static final int MESSAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object message_; + /** + *
+     * More detailed error message explaining the reason for the cache eviction failure.
+     * 
+ * + * string message = 2; + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + 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(); + message_ = s; + return s; + } + } + /** + *
+     * More detailed error message explaining the reason for the cache eviction failure.
+     * 
+ * + * string message = 2; + */ + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_EXECUTION_ID_FIELD_NUMBER = 3; + private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier nodeExecutionId_; + /** + *
+     * ID of the node execution the cache eviction failed for.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public boolean hasNodeExecutionId() { + return nodeExecutionId_ != null; + } + /** + *
+     * ID of the node execution the cache eviction failed for.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { + return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; + } + /** + *
+     * ID of the node execution the cache eviction failed for.
+     * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { + return getNodeExecutionId(); + } + + public static final int TASK_EXECUTION_ID_FIELD_NUMBER = 4; + /** + *
+     * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public boolean hasTaskExecutionId() { + return sourceCase_ == 4; + } + /** + *
+     * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() { + if (sourceCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + /** + *
+     * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() { + if (sourceCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + + public static final int WORKFLOW_EXECUTION_ID_FIELD_NUMBER = 5; + /** + *
+     * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public boolean hasWorkflowExecutionId() { + return sourceCase_ == 5; + } + /** + *
+     * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() { + if (sourceCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + /** + *
+     * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() { + if (sourceCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.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 (code_ != flyteidl.core.Errors.CacheEvictionError.Code.INTERNAL.getNumber()) { + output.writeEnum(1, code_); + } + if (!getMessageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); + } + if (nodeExecutionId_ != null) { + output.writeMessage(3, getNodeExecutionId()); + } + if (sourceCase_ == 4) { + output.writeMessage(4, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_); + } + if (sourceCase_ == 5) { + output.writeMessage(5, (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (code_ != flyteidl.core.Errors.CacheEvictionError.Code.INTERNAL.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); + } + if (!getMessageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); + } + if (nodeExecutionId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getNodeExecutionId()); + } + if (sourceCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_); + } + if (sourceCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_); + } + 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.core.Errors.CacheEvictionError)) { + return super.equals(obj); + } + flyteidl.core.Errors.CacheEvictionError other = (flyteidl.core.Errors.CacheEvictionError) obj; + + if (code_ != other.code_) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (hasNodeExecutionId() != other.hasNodeExecutionId()) return false; + if (hasNodeExecutionId()) { + if (!getNodeExecutionId() + .equals(other.getNodeExecutionId())) return false; + } + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 4: + if (!getTaskExecutionId() + .equals(other.getTaskExecutionId())) return false; + break; + case 5: + if (!getWorkflowExecutionId() + .equals(other.getWorkflowExecutionId())) 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(); + hash = (37 * hash) + CODE_FIELD_NUMBER; + hash = (53 * hash) + code_; + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + if (hasNodeExecutionId()) { + hash = (37 * hash) + NODE_EXECUTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodeExecutionId().hashCode(); + } + switch (sourceCase_) { + case 4: + hash = (37 * hash) + TASK_EXECUTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getTaskExecutionId().hashCode(); + break; + case 5: + hash = (37 * hash) + WORKFLOW_EXECUTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowExecutionId().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.Errors.CacheEvictionError parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Errors.CacheEvictionError parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Errors.CacheEvictionError parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Errors.CacheEvictionError parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Errors.CacheEvictionError parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Errors.CacheEvictionError parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Errors.CacheEvictionError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.Errors.CacheEvictionError 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.core.Errors.CacheEvictionError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.Errors.CacheEvictionError 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.core.Errors.CacheEvictionError parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.Errors.CacheEvictionError 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.core.Errors.CacheEvictionError 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; + } + /** + *
+     * Error returned if eviction of cached output fails and should be re-tried by the user.
+     * 
+ * + * Protobuf type {@code flyteidl.core.CacheEvictionError} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.CacheEvictionError) + flyteidl.core.Errors.CacheEvictionErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionError_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.Errors.CacheEvictionError.class, flyteidl.core.Errors.CacheEvictionError.Builder.class); + } + + // Construct using flyteidl.core.Errors.CacheEvictionError.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(); + code_ = 0; + + message_ = ""; + + if (nodeExecutionIdBuilder_ == null) { + nodeExecutionId_ = null; + } else { + nodeExecutionId_ = null; + nodeExecutionIdBuilder_ = null; + } + sourceCase_ = 0; + source_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionError_descriptor; + } + + @java.lang.Override + public flyteidl.core.Errors.CacheEvictionError getDefaultInstanceForType() { + return flyteidl.core.Errors.CacheEvictionError.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.Errors.CacheEvictionError build() { + flyteidl.core.Errors.CacheEvictionError result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.Errors.CacheEvictionError buildPartial() { + flyteidl.core.Errors.CacheEvictionError result = new flyteidl.core.Errors.CacheEvictionError(this); + result.code_ = code_; + result.message_ = message_; + if (nodeExecutionIdBuilder_ == null) { + result.nodeExecutionId_ = nodeExecutionId_; + } else { + result.nodeExecutionId_ = nodeExecutionIdBuilder_.build(); + } + if (sourceCase_ == 4) { + if (taskExecutionIdBuilder_ == null) { + result.source_ = source_; + } else { + result.source_ = taskExecutionIdBuilder_.build(); + } + } + if (sourceCase_ == 5) { + if (workflowExecutionIdBuilder_ == null) { + result.source_ = source_; + } else { + result.source_ = workflowExecutionIdBuilder_.build(); + } + } + result.sourceCase_ = sourceCase_; + 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.core.Errors.CacheEvictionError) { + return mergeFrom((flyteidl.core.Errors.CacheEvictionError)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.Errors.CacheEvictionError other) { + if (other == flyteidl.core.Errors.CacheEvictionError.getDefaultInstance()) return this; + if (other.code_ != 0) { + setCodeValue(other.getCodeValue()); + } + if (!other.getMessage().isEmpty()) { + message_ = other.message_; + onChanged(); + } + if (other.hasNodeExecutionId()) { + mergeNodeExecutionId(other.getNodeExecutionId()); + } + switch (other.getSourceCase()) { + case TASK_EXECUTION_ID: { + mergeTaskExecutionId(other.getTaskExecutionId()); + break; + } + case WORKFLOW_EXECUTION_ID: { + mergeWorkflowExecutionId(other.getWorkflowExecutionId()); + break; + } + case SOURCE_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.core.Errors.CacheEvictionError parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.Errors.CacheEvictionError) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int sourceCase_ = 0; + private java.lang.Object source_; + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + + + private int code_ = 0; + /** + *
+       * Error code to match type of cache eviction error encountered.
+       * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + public int getCodeValue() { + return code_; + } + /** + *
+       * Error code to match type of cache eviction error encountered.
+       * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + public Builder setCodeValue(int value) { + code_ = value; + onChanged(); + return this; + } + /** + *
+       * Error code to match type of cache eviction error encountered.
+       * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + public flyteidl.core.Errors.CacheEvictionError.Code getCode() { + @SuppressWarnings("deprecation") + flyteidl.core.Errors.CacheEvictionError.Code result = flyteidl.core.Errors.CacheEvictionError.Code.valueOf(code_); + return result == null ? flyteidl.core.Errors.CacheEvictionError.Code.UNRECOGNIZED : result; + } + /** + *
+       * Error code to match type of cache eviction error encountered.
+       * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + public Builder setCode(flyteidl.core.Errors.CacheEvictionError.Code value) { + if (value == null) { + throw new NullPointerException(); + } + + code_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Error code to match type of cache eviction error encountered.
+       * 
+ * + * .flyteidl.core.CacheEvictionError.Code code = 1; + */ + public Builder clearCode() { + + code_ = 0; + onChanged(); + return this; + } + + private java.lang.Object message_ = ""; + /** + *
+       * More detailed error message explaining the reason for the cache eviction failure.
+       * 
+ * + * string message = 2; + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * More detailed error message explaining the reason for the cache eviction failure.
+       * 
+ * + * string message = 2; + */ + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * More detailed error message explaining the reason for the cache eviction failure.
+       * 
+ * + * string message = 2; + */ + public Builder setMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + message_ = value; + onChanged(); + return this; + } + /** + *
+       * More detailed error message explaining the reason for the cache eviction failure.
+       * 
+ * + * string message = 2; + */ + public Builder clearMessage() { + + message_ = getDefaultInstance().getMessage(); + onChanged(); + return this; + } + /** + *
+       * More detailed error message explaining the reason for the cache eviction failure.
+       * 
+ * + * string message = 2; + */ + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + message_ = value; + onChanged(); + return this; + } + + private flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier nodeExecutionId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> nodeExecutionIdBuilder_; + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public boolean hasNodeExecutionId() { + return nodeExecutionIdBuilder_ != null || nodeExecutionId_ != null; + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier getNodeExecutionId() { + if (nodeExecutionIdBuilder_ == null) { + return nodeExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; + } else { + return nodeExecutionIdBuilder_.getMessage(); + } + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public Builder setNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (nodeExecutionIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nodeExecutionId_ = value; + onChanged(); + } else { + nodeExecutionIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public Builder setNodeExecutionId( + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue) { + if (nodeExecutionIdBuilder_ == null) { + nodeExecutionId_ = builderForValue.build(); + onChanged(); + } else { + nodeExecutionIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public Builder mergeNodeExecutionId(flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier value) { + if (nodeExecutionIdBuilder_ == null) { + if (nodeExecutionId_ != null) { + nodeExecutionId_ = + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.newBuilder(nodeExecutionId_).mergeFrom(value).buildPartial(); + } else { + nodeExecutionId_ = value; + } + onChanged(); + } else { + nodeExecutionIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public Builder clearNodeExecutionId() { + if (nodeExecutionIdBuilder_ == null) { + nodeExecutionId_ = null; + onChanged(); + } else { + nodeExecutionId_ = null; + nodeExecutionIdBuilder_ = null; + } + + return this; + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder getNodeExecutionIdBuilder() { + + onChanged(); + return getNodeExecutionIdFieldBuilder().getBuilder(); + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getNodeExecutionIdOrBuilder() { + if (nodeExecutionIdBuilder_ != null) { + return nodeExecutionIdBuilder_.getMessageOrBuilder(); + } else { + return nodeExecutionId_ == null ? + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.getDefaultInstance() : nodeExecutionId_; + } + } + /** + *
+       * ID of the node execution the cache eviction failed for.
+       * 
+ * + * .flyteidl.core.NodeExecutionIdentifier node_execution_id = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> + getNodeExecutionIdFieldBuilder() { + if (nodeExecutionIdBuilder_ == null) { + nodeExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>( + getNodeExecutionId(), + getParentForChildren(), + isClean()); + nodeExecutionId_ = null; + } + return nodeExecutionIdBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> taskExecutionIdBuilder_; + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public boolean hasTaskExecutionId() { + return sourceCase_ == 4; + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() { + if (taskExecutionIdBuilder_ == null) { + if (sourceCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } else { + if (sourceCase_ == 4) { + return taskExecutionIdBuilder_.getMessage(); + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public Builder setTaskExecutionId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskExecutionIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + taskExecutionIdBuilder_.setMessage(value); + } + sourceCase_ = 4; + return this; + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public Builder setTaskExecutionId( + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { + if (taskExecutionIdBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + taskExecutionIdBuilder_.setMessage(builderForValue.build()); + } + sourceCase_ = 4; + return this; + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public Builder mergeTaskExecutionId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskExecutionIdBuilder_ == null) { + if (sourceCase_ == 4 && + source_ != flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance()) { + source_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_) + .mergeFrom(value).buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + if (sourceCase_ == 4) { + taskExecutionIdBuilder_.mergeFrom(value); + } + taskExecutionIdBuilder_.setMessage(value); + } + sourceCase_ = 4; + return this; + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public Builder clearTaskExecutionId() { + if (taskExecutionIdBuilder_ == null) { + if (sourceCase_ == 4) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 4) { + sourceCase_ = 0; + source_ = null; + } + taskExecutionIdBuilder_.clear(); + } + return this; + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskExecutionIdBuilder() { + return getTaskExecutionIdFieldBuilder().getBuilder(); + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() { + if ((sourceCase_ == 4) && (taskExecutionIdBuilder_ != null)) { + return taskExecutionIdBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 4) { + return (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * ID of the task execution the cache eviction failed for (if the node execution was part of a task execution).
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> + getTaskExecutionIdFieldBuilder() { + if (taskExecutionIdBuilder_ == null) { + if (!(sourceCase_ == 4)) { + source_ = flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance(); + } + taskExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( + (flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier) source_, + getParentForChildren(), + isClean()); + source_ = null; + } + sourceCase_ = 4; + onChanged();; + return taskExecutionIdBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> workflowExecutionIdBuilder_; + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public boolean hasWorkflowExecutionId() { + return sourceCase_ == 5; + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() { + if (workflowExecutionIdBuilder_ == null) { + if (sourceCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } else { + if (sourceCase_ == 5) { + return workflowExecutionIdBuilder_.getMessage(); + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public Builder setWorkflowExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowExecutionIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + workflowExecutionIdBuilder_.setMessage(value); + } + sourceCase_ = 5; + return this; + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public Builder setWorkflowExecutionId( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (workflowExecutionIdBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + workflowExecutionIdBuilder_.setMessage(builderForValue.build()); + } + sourceCase_ = 5; + return this; + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public Builder mergeWorkflowExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowExecutionIdBuilder_ == null) { + if (sourceCase_ == 5 && + source_ != flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance()) { + source_ = flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder((flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_) + .mergeFrom(value).buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + if (sourceCase_ == 5) { + workflowExecutionIdBuilder_.mergeFrom(value); + } + workflowExecutionIdBuilder_.setMessage(value); + } + sourceCase_ = 5; + return this; + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public Builder clearWorkflowExecutionId() { + if (workflowExecutionIdBuilder_ == null) { + if (sourceCase_ == 5) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 5) { + sourceCase_ = 0; + source_ = null; + } + workflowExecutionIdBuilder_.clear(); + } + return this; + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowExecutionIdBuilder() { + return getWorkflowExecutionIdFieldBuilder().getBuilder(); + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() { + if ((sourceCase_ == 5) && (workflowExecutionIdBuilder_ != null)) { + return workflowExecutionIdBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 5) { + return (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_; + } + return flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + } + /** + *
+       * ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution).
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getWorkflowExecutionIdFieldBuilder() { + if (workflowExecutionIdBuilder_ == null) { + if (!(sourceCase_ == 5)) { + source_ = flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance(); + } + workflowExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + (flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier) source_, + getParentForChildren(), + isClean()); + source_ = null; + } + sourceCase_ = 5; + onChanged();; + return workflowExecutionIdBuilder_; + } + @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.core.CacheEvictionError) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.CacheEvictionError) + private static final flyteidl.core.Errors.CacheEvictionError DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.Errors.CacheEvictionError(); + } + + public static flyteidl.core.Errors.CacheEvictionError getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CacheEvictionError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CacheEvictionError(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.core.Errors.CacheEvictionError getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CacheEvictionErrorListOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.CacheEvictionErrorList) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + java.util.List + getErrorsList(); + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + flyteidl.core.Errors.CacheEvictionError getErrors(int index); + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + int getErrorsCount(); + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + java.util.List + getErrorsOrBuilderList(); + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + flyteidl.core.Errors.CacheEvictionErrorOrBuilder getErrorsOrBuilder( + int index); + } + /** + *
+   * List of :ref:`ref_flyteidl.core.CacheEvictionError` encountered during a cache eviction request.
+   * 
+ * + * Protobuf type {@code flyteidl.core.CacheEvictionErrorList} + */ + public static final class CacheEvictionErrorList extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.CacheEvictionErrorList) + CacheEvictionErrorListOrBuilder { + private static final long serialVersionUID = 0L; + // Use CacheEvictionErrorList.newBuilder() to construct. + private CacheEvictionErrorList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CacheEvictionErrorList() { + errors_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CacheEvictionErrorList( + 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)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + errors_.add( + input.readMessage(flyteidl.core.Errors.CacheEvictionError.parser(), extensionRegistry)); + 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)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionErrorList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionErrorList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.Errors.CacheEvictionErrorList.class, flyteidl.core.Errors.CacheEvictionErrorList.Builder.class); + } + + public static final int ERRORS_FIELD_NUMBER = 1; + private java.util.List errors_; + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public java.util.List getErrorsList() { + return errors_; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public java.util.List + getErrorsOrBuilderList() { + return errors_; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public int getErrorsCount() { + return errors_.size(); + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionError getErrors(int index) { + return errors_.get(index); + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionErrorOrBuilder getErrorsOrBuilder( + int index) { + return errors_.get(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 < errors_.size(); i++) { + output.writeMessage(1, errors_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < errors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, errors_.get(i)); + } + 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.core.Errors.CacheEvictionErrorList)) { + return super.equals(obj); + } + flyteidl.core.Errors.CacheEvictionErrorList other = (flyteidl.core.Errors.CacheEvictionErrorList) obj; + + if (!getErrorsList() + .equals(other.getErrorsList())) 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 (getErrorsCount() > 0) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrorsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.Errors.CacheEvictionErrorList parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Errors.CacheEvictionErrorList parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Errors.CacheEvictionErrorList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Errors.CacheEvictionErrorList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Errors.CacheEvictionErrorList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.Errors.CacheEvictionErrorList parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.Errors.CacheEvictionErrorList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.Errors.CacheEvictionErrorList 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.core.Errors.CacheEvictionErrorList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.Errors.CacheEvictionErrorList 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.core.Errors.CacheEvictionErrorList parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.Errors.CacheEvictionErrorList 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.core.Errors.CacheEvictionErrorList 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; + } + /** + *
+     * List of :ref:`ref_flyteidl.core.CacheEvictionError` encountered during a cache eviction request.
+     * 
+ * + * Protobuf type {@code flyteidl.core.CacheEvictionErrorList} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.CacheEvictionErrorList) + flyteidl.core.Errors.CacheEvictionErrorListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionErrorList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionErrorList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.Errors.CacheEvictionErrorList.class, flyteidl.core.Errors.CacheEvictionErrorList.Builder.class); + } + + // Construct using flyteidl.core.Errors.CacheEvictionErrorList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getErrorsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + errorsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.Errors.internal_static_flyteidl_core_CacheEvictionErrorList_descriptor; + } + + @java.lang.Override + public flyteidl.core.Errors.CacheEvictionErrorList getDefaultInstanceForType() { + return flyteidl.core.Errors.CacheEvictionErrorList.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.Errors.CacheEvictionErrorList build() { + flyteidl.core.Errors.CacheEvictionErrorList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.Errors.CacheEvictionErrorList buildPartial() { + flyteidl.core.Errors.CacheEvictionErrorList result = new flyteidl.core.Errors.CacheEvictionErrorList(this); + int from_bitField0_ = bitField0_; + if (errorsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.errors_ = errors_; + } else { + result.errors_ = errorsBuilder_.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.core.Errors.CacheEvictionErrorList) { + return mergeFrom((flyteidl.core.Errors.CacheEvictionErrorList)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.Errors.CacheEvictionErrorList other) { + if (other == flyteidl.core.Errors.CacheEvictionErrorList.getDefaultInstance()) return this; + if (errorsBuilder_ == null) { + if (!other.errors_.isEmpty()) { + if (errors_.isEmpty()) { + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureErrorsIsMutable(); + errors_.addAll(other.errors_); + } + onChanged(); + } + } else { + if (!other.errors_.isEmpty()) { + if (errorsBuilder_.isEmpty()) { + errorsBuilder_.dispose(); + errorsBuilder_ = null; + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x00000001); + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; + } else { + errorsBuilder_.addAllMessages(other.errors_); + } + } + } + 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.core.Errors.CacheEvictionErrorList parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.Errors.CacheEvictionErrorList) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List errors_ = + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList(errors_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Errors.CacheEvictionError, flyteidl.core.Errors.CacheEvictionError.Builder, flyteidl.core.Errors.CacheEvictionErrorOrBuilder> errorsBuilder_; + + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public java.util.List getErrorsList() { + if (errorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(errors_); + } else { + return errorsBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public int getErrorsCount() { + if (errorsBuilder_ == null) { + return errors_.size(); + } else { + return errorsBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionError getErrors(int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); + } else { + return errorsBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder setErrors( + int index, flyteidl.core.Errors.CacheEvictionError value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.set(index, value); + onChanged(); + } else { + errorsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder setErrors( + int index, flyteidl.core.Errors.CacheEvictionError.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.set(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder addErrors(flyteidl.core.Errors.CacheEvictionError value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(value); + onChanged(); + } else { + errorsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder addErrors( + int index, flyteidl.core.Errors.CacheEvictionError value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(index, value); + onChanged(); + } else { + errorsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder addErrors( + flyteidl.core.Errors.CacheEvictionError.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder addErrors( + int index, flyteidl.core.Errors.CacheEvictionError.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder addAllErrors( + java.lang.Iterable values) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); + onChanged(); + } else { + errorsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + errorsBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public Builder removeErrors(int index) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.remove(index); + onChanged(); + } else { + errorsBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionError.Builder getErrorsBuilder( + int index) { + return getErrorsFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionErrorOrBuilder getErrorsOrBuilder( + int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); } else { + return errorsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public java.util.List + getErrorsOrBuilderList() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(errors_); + } + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionError.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + flyteidl.core.Errors.CacheEvictionError.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionError.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, flyteidl.core.Errors.CacheEvictionError.getDefaultInstance()); + } + /** + * repeated .flyteidl.core.CacheEvictionError errors = 1; + */ + public java.util.List + getErrorsBuilderList() { + return getErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Errors.CacheEvictionError, flyteidl.core.Errors.CacheEvictionError.Builder, flyteidl.core.Errors.CacheEvictionErrorOrBuilder> + getErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.Errors.CacheEvictionError, flyteidl.core.Errors.CacheEvictionError.Builder, flyteidl.core.Errors.CacheEvictionErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + errors_ = null; + } + return errorsBuilder_; + } + @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.core.CacheEvictionErrorList) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.CacheEvictionErrorList) + private static final flyteidl.core.Errors.CacheEvictionErrorList DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.Errors.CacheEvictionErrorList(); + } + + public static flyteidl.core.Errors.CacheEvictionErrorList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CacheEvictionErrorList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CacheEvictionErrorList(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.core.Errors.CacheEvictionErrorList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_core_ContainerError_descriptor; private static final @@ -1830,6 +4387,16 @@ public flyteidl.core.Errors.ErrorDocument getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_core_ErrorDocument_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_CacheEvictionError_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_CacheEvictionError_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_CacheEvictionErrorList_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_CacheEvictionErrorList_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -1840,16 +4407,30 @@ public flyteidl.core.Errors.ErrorDocument getDefaultInstanceForType() { static { java.lang.String[] descriptorData = { "\n\032flyteidl/core/errors.proto\022\rflyteidl.c" + - "ore\032\035flyteidl/core/execution.proto\"\310\001\n\016C" + - "ontainerError\022\014\n\004code\030\001 \001(\t\022\017\n\007message\030\002" + - " \001(\t\0220\n\004kind\030\003 \001(\0162\".flyteidl.core.Conta" + - "inerError.Kind\0227\n\006origin\030\004 \001(\0162\'.flyteid" + - "l.core.ExecutionError.ErrorKind\",\n\004Kind\022" + - "\023\n\017NON_RECOVERABLE\020\000\022\017\n\013RECOVERABLE\020\001\"=\n" + - "\rErrorDocument\022,\n\005error\030\001 \001(\0132\035.flyteidl" + - ".core.ContainerErrorB6Z4github.com/flyte" + - "org/flyteidl/gen/pb-go/flyteidl/coreb\006pr" + - "oto3" + "ore\032\035flyteidl/core/execution.proto\032\036flyt" + + "eidl/core/identifier.proto\"\310\001\n\016Container" + + "Error\022\014\n\004code\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\0220\n\004" + + "kind\030\003 \001(\0162\".flyteidl.core.ContainerErro" + + "r.Kind\0227\n\006origin\030\004 \001(\0162\'.flyteidl.core.E" + + "xecutionError.ErrorKind\",\n\004Kind\022\023\n\017NON_R" + + "ECOVERABLE\020\000\022\017\n\013RECOVERABLE\020\001\"=\n\rErrorDo" + + "cument\022,\n\005error\030\001 \001(\0132\035.flyteidl.core.Co" + + "ntainerError\"\305\003\n\022CacheEvictionError\0224\n\004c" + + "ode\030\001 \001(\0162&.flyteidl.core.CacheEvictionE" + + "rror.Code\022\017\n\007message\030\002 \001(\t\022A\n\021node_execu" + + "tion_id\030\003 \001(\0132&.flyteidl.core.NodeExecut" + + "ionIdentifier\022C\n\021task_execution_id\030\004 \001(\013" + + "2&.flyteidl.core.TaskExecutionIdentifier" + + "H\000\022K\n\025workflow_execution_id\030\005 \001(\0132*.flyt" + + "eidl.core.WorkflowExecutionIdentifierH\000\"" + + "\210\001\n\004Code\022\014\n\010INTERNAL\020\000\022\034\n\030RESERVATION_NO" + + "T_ACQUIRED\020\001\022\032\n\026DATABASE_UPDATE_FAILED\020\002" + + "\022\032\n\026ARTIFACT_DELETE_FAILED\020\003\022\034\n\030RESERVAT" + + "ION_NOT_RELEASED\020\004B\010\n\006source\"K\n\026CacheEvi" + + "ctionErrorList\0221\n\006errors\030\001 \003(\0132!.flyteid" + + "l.core.CacheEvictionErrorB6Z4github.com/" + + "flyteorg/flyteidl/gen/pb-go/flyteidl/cor" + + "eb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -1863,6 +4444,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { flyteidl.core.Execution.getDescriptor(), + flyteidl.core.IdentifierOuterClass.getDescriptor(), }, assigner); internal_static_flyteidl_core_ContainerError_descriptor = getDescriptor().getMessageTypes().get(0); @@ -1876,7 +4458,20 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_core_ErrorDocument_descriptor, new java.lang.String[] { "Error", }); + internal_static_flyteidl_core_CacheEvictionError_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_core_CacheEvictionError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_core_CacheEvictionError_descriptor, + new java.lang.String[] { "Code", "Message", "NodeExecutionId", "TaskExecutionId", "WorkflowExecutionId", "Source", }); + internal_static_flyteidl_core_CacheEvictionErrorList_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_flyteidl_core_CacheEvictionErrorList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_core_CacheEvictionErrorList_descriptor, + new java.lang.String[] { "Errors", }); flyteidl.core.Execution.getDescriptor(); + flyteidl.core.IdentifierOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/gen/pb-java/flyteidl/service/Admin.java b/gen/pb-java/flyteidl/service/Admin.java index 29c343de4..9f79f3bb8 100644 --- a/gen/pb-java/flyteidl/service/Admin.java +++ b/gen/pb-java/flyteidl/service/Admin.java @@ -38,254 +38,253 @@ public static void registerAllExtensions( "admin/task_execution.proto\032\034flyteidl/adm" + "in/version.proto\032\033flyteidl/admin/common." + "proto\032\'flyteidl/admin/description_entity" + - ".proto\032\036flyteidl/core/identifier.proto2\274" + - "L\n\014AdminService\022m\n\nCreateTask\022!.flyteidl" + - ".admin.TaskCreateRequest\032\".flyteidl.admi" + - "n.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/api/v1/ta" + - "sks:\001*\022\210\001\n\007GetTask\022 .flyteidl.admin.Obje" + - "ctGetRequest\032\024.flyteidl.admin.Task\"E\202\323\344\223" + - "\002?\022=/api/v1/tasks/{id.project}/{id.domai" + - "n}/{id.name}/{id.version}\022\227\001\n\013ListTaskId" + - "s\0220.flyteidl.admin.NamedEntityIdentifier" + - "ListRequest\032).flyteidl.admin.NamedEntity" + - "IdentifierList\"+\202\323\344\223\002%\022#/api/v1/task_ids" + - "/{project}/{domain}\022\256\001\n\tListTasks\022#.flyt" + - "eidl.admin.ResourceListRequest\032\030.flyteid" + - "l.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v1/tasks/" + - "{id.project}/{id.domain}/{id.name}Z(\022&/a" + - "pi/v1/tasks/{id.project}/{id.domain}\022}\n\016" + - "CreateWorkflow\022%.flyteidl.admin.Workflow" + - "CreateRequest\032&.flyteidl.admin.WorkflowC" + - "reateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/workflows" + - ":\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.admin.Obj" + - "ectGetRequest\032\030.flyteidl.admin.Workflow\"" + - "I\202\323\344\223\002C\022A/api/v1/workflows/{id.project}/" + - "{id.domain}/{id.name}/{id.version}\022\237\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}\022\276\001\n" + - "\rListWorkflows\022#.flyteidl.admin.Resource" + - "ListRequest\032\034.flyteidl.admin.WorkflowLis" + - "t\"j\202\323\344\223\002d\0224/api/v1/workflows/{id.project" + - "}/{id.domain}/{id.name}Z,\022*/api/v1/workf" + - "lows/{id.project}/{id.domain}\022\206\001\n\020Create" + - "LaunchPlan\022\'.flyteidl.admin.LaunchPlanCr" + - "eateRequest\032(.flyteidl.admin.LaunchPlanC" + - "reateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/launch_pl" + - "ans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyteidl.admi" + - "n.ObjectGetRequest\032\032.flyteidl.admin.Laun" + - "chPlan\"L\202\323\344\223\002F\022D/api/v1/launch_plans/{id" + - ".project}/{id.domain}/{id.name}/{id.vers" + - "ion}\022\242\001\n\023GetActiveLaunchPlan\022\'.flyteidl." + - "admin.ActiveLaunchPlanRequest\032\032.flyteidl" + - ".admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/v1/activ" + - "e_launch_plans/{id.project}/{id.domain}/" + - "{id.name}\022\234\001\n\025ListActiveLaunchPlans\022+.fl" + - "yteidl.admin.ActiveLaunchPlanListRequest" + - "\032\036.flyteidl.admin.LaunchPlanList\"6\202\323\344\223\0020" + - "\022./api/v1/active_launch_plans/{project}/" + - "{domain}\022\244\001\n\021ListLaunchPlanIds\0220.flyteid" + - "l.admin.NamedEntityIdentifierListRequest" + - "\032).flyteidl.admin.NamedEntityIdentifierL" + - "ist\"2\202\323\344\223\002,\022*/api/v1/launch_plan_ids/{pr" + - "oject}/{domain}\022\310\001\n\017ListLaunchPlans\022#.fl" + - "yteidl.admin.ResourceListRequest\032\036.flyte" + - "idl.admin.LaunchPlanList\"p\202\323\344\223\002j\0227/api/v" + - "1/launch_plans/{id.project}/{id.domain}/" + - "{id.name}Z/\022-/api/v1/launch_plans/{id.pr" + - "oject}/{id.domain}\022\266\001\n\020UpdateLaunchPlan\022" + - "\'.flyteidl.admin.LaunchPlanUpdateRequest" + - "\032(.flyteidl.admin.LaunchPlanUpdateRespon" + - "se\"O\202\323\344\223\002I\032D/api/v1/launch_plans/{id.pro" + + ".proto2\274L\n\014AdminService\022m\n\nCreateTask\022!." + + "flyteidl.admin.TaskCreateRequest\032\".flyte" + + "idl.admin.TaskCreateResponse\"\030\202\323\344\223\002\022\"\r/a" + + "pi/v1/tasks:\001*\022\210\001\n\007GetTask\022 .flyteidl.ad" + + "min.ObjectGetRequest\032\024.flyteidl.admin.Ta" + + "sk\"E\202\323\344\223\002?\022=/api/v1/tasks/{id.project}/{" + + "id.domain}/{id.name}/{id.version}\022\227\001\n\013Li" + + "stTaskIds\0220.flyteidl.admin.NamedEntityId" + + "entifierListRequest\032).flyteidl.admin.Nam" + + "edEntityIdentifierList\"+\202\323\344\223\002%\022#/api/v1/" + + "task_ids/{project}/{domain}\022\256\001\n\tListTask" + + "s\022#.flyteidl.admin.ResourceListRequest\032\030" + + ".flyteidl.admin.TaskList\"b\202\323\344\223\002\\\0220/api/v" + + "1/tasks/{id.project}/{id.domain}/{id.nam" + + "e}Z(\022&/api/v1/tasks/{id.project}/{id.dom" + + "ain}\022}\n\016CreateWorkflow\022%.flyteidl.admin." + + "WorkflowCreateRequest\032&.flyteidl.admin.W" + + "orkflowCreateResponse\"\034\202\323\344\223\002\026\"\021/api/v1/w" + + "orkflows:\001*\022\224\001\n\013GetWorkflow\022 .flyteidl.a" + + "dmin.ObjectGetRequest\032\030.flyteidl.admin.W" + + "orkflow\"I\202\323\344\223\002C\022A/api/v1/workflows/{id.p" + + "roject}/{id.domain}/{id.name}/{id.versio" + + "n}\022\237\001\n\017ListWorkflowIds\0220.flyteidl.admin." + + "NamedEntityIdentifierListRequest\032).flyte" + + "idl.admin.NamedEntityIdentifierList\"/\202\323\344" + + "\223\002)\022\'/api/v1/workflow_ids/{project}/{dom" + + "ain}\022\276\001\n\rListWorkflows\022#.flyteidl.admin." + + "ResourceListRequest\032\034.flyteidl.admin.Wor" + + "kflowList\"j\202\323\344\223\002d\0224/api/v1/workflows/{id" + + ".project}/{id.domain}/{id.name}Z,\022*/api/" + + "v1/workflows/{id.project}/{id.domain}\022\206\001" + + "\n\020CreateLaunchPlan\022\'.flyteidl.admin.Laun" + + "chPlanCreateRequest\032(.flyteidl.admin.Lau" + + "nchPlanCreateResponse\"\037\202\323\344\223\002\031\"\024/api/v1/l" + + "aunch_plans:\001*\022\233\001\n\rGetLaunchPlan\022 .flyte" + + "idl.admin.ObjectGetRequest\032\032.flyteidl.ad" + + "min.LaunchPlan\"L\202\323\344\223\002F\022D/api/v1/launch_p" + + "lans/{id.project}/{id.domain}/{id.name}/" + + "{id.version}\022\242\001\n\023GetActiveLaunchPlan\022\'.f" + + "lyteidl.admin.ActiveLaunchPlanRequest\032\032." + + "flyteidl.admin.LaunchPlan\"F\202\323\344\223\002@\022>/api/" + + "v1/active_launch_plans/{id.project}/{id." + + "domain}/{id.name}\022\234\001\n\025ListActiveLaunchPl" + + "ans\022+.flyteidl.admin.ActiveLaunchPlanLis" + + "tRequest\032\036.flyteidl.admin.LaunchPlanList" + + "\"6\202\323\344\223\0020\022./api/v1/active_launch_plans/{p" + + "roject}/{domain}\022\244\001\n\021ListLaunchPlanIds\0220" + + ".flyteidl.admin.NamedEntityIdentifierLis" + + "tRequest\032).flyteidl.admin.NamedEntityIde" + + "ntifierList\"2\202\323\344\223\002,\022*/api/v1/launch_plan" + + "_ids/{project}/{domain}\022\310\001\n\017ListLaunchPl" + + "ans\022#.flyteidl.admin.ResourceListRequest" + + "\032\036.flyteidl.admin.LaunchPlanList\"p\202\323\344\223\002j" + + "\0227/api/v1/launch_plans/{id.project}/{id." + + "domain}/{id.name}Z/\022-/api/v1/launch_plan" + + "s/{id.project}/{id.domain}\022\266\001\n\020UpdateLau" + + "nchPlan\022\'.flyteidl.admin.LaunchPlanUpdat" + + "eRequest\032(.flyteidl.admin.LaunchPlanUpda" + + "teResponse\"O\202\323\344\223\002I\032D/api/v1/launch_plans" + + "/{id.project}/{id.domain}/{id.name}/{id." + + "version}:\001*\022\201\001\n\017CreateExecution\022&.flytei" + + "dl.admin.ExecutionCreateRequest\032\'.flytei" + + "dl.admin.ExecutionCreateResponse\"\035\202\323\344\223\002\027" + + "\"\022/api/v1/executions:\001*\022\216\001\n\021RelaunchExec" + + "ution\022(.flyteidl.admin.ExecutionRelaunch" + + "Request\032\'.flyteidl.admin.ExecutionCreate" + + "Response\"&\202\323\344\223\002 \"\033/api/v1/executions/rel" + + "aunch:\001*\022\213\001\n\020RecoverExecution\022\'.flyteidl" + + ".admin.ExecutionRecoverRequest\032\'.flyteid" + + "l.admin.ExecutionCreateResponse\"%\202\323\344\223\002\037\"" + + "\032/api/v1/executions/recover:\001*\022\225\001\n\014GetEx" + + "ecution\022+.flyteidl.admin.WorkflowExecuti" + + "onGetRequest\032\031.flyteidl.admin.Execution\"" + + "=\202\323\344\223\0027\0225/api/v1/executions/{id.project}" + + "/{id.domain}/{id.name}\022\244\001\n\017UpdateExecuti" + + "on\022&.flyteidl.admin.ExecutionUpdateReque" + + "st\032\'.flyteidl.admin.ExecutionUpdateRespo" + + "nse\"@\202\323\344\223\002:\0325/api/v1/executions/{id.proj" + + "ect}/{id.domain}/{id.name}:\001*\022\271\001\n\020GetExe" + + "cutionData\022/.flyteidl.admin.WorkflowExec" + + "utionGetDataRequest\0320.flyteidl.admin.Wor" + + "kflowExecutionGetDataResponse\"B\202\323\344\223\002<\022:/" + + "api/v1/data/executions/{id.project}/{id." + + "domain}/{id.name}\022\211\001\n\016ListExecutions\022#.f" + + "lyteidl.admin.ResourceListRequest\032\035.flyt" + + "eidl.admin.ExecutionList\"3\202\323\344\223\002-\022+/api/v" + + "1/executions/{id.project}/{id.domain}\022\255\001" + + "\n\022TerminateExecution\022).flyteidl.admin.Ex" + + "ecutionTerminateRequest\032*.flyteidl.admin" + + ".ExecutionTerminateResponse\"@\202\323\344\223\002:*5/ap" + + "i/v1/executions/{id.project}/{id.domain}" + + "/{id.name}:\001*\022\322\001\n\020GetNodeExecution\022\'.fly" + + "teidl.admin.NodeExecutionGetRequest\032\035.fl" + + "yteidl.admin.NodeExecution\"v\202\323\344\223\002p\022n/api" + + "/v1/node_executions/{id.execution_id.pro" + + "ject}/{id.execution_id.domain}/{id.execu" + + "tion_id.name}/{id.node_id}\022\336\001\n\022ListNodeE" + + "xecutions\022(.flyteidl.admin.NodeExecution" + + "ListRequest\032!.flyteidl.admin.NodeExecuti" + + "onList\"{\202\323\344\223\002u\022s/api/v1/node_executions/" + + "{workflow_execution_id.project}/{workflo" + + "w_execution_id.domain}/{workflow_executi" + + "on_id.name}\022\245\004\n\031ListNodeExecutionsForTas" + + "k\022/.flyteidl.admin.NodeExecutionForTaskL" + + "istRequest\032!.flyteidl.admin.NodeExecutio" + + "nList\"\263\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_" + + "executions/{task_execution_id.node_execu" + + "tion_id.execution_id.project}/{task_exec" + + "ution_id.node_execution_id.execution_id." + + "domain}/{task_execution_id.node_executio" + + "n_id.execution_id.name}/{task_execution_" + + "id.node_execution_id.node_id}/{task_exec" + + "ution_id.task_id.project}/{task_executio" + + "n_id.task_id.domain}/{task_execution_id." + + "task_id.name}/{task_execution_id.task_id" + + ".version}/{task_execution_id.retry_attem" + + "pt}\022\356\001\n\024GetNodeExecutionData\022+.flyteidl." + + "admin.NodeExecutionGetDataRequest\032,.flyt" + + "eidl.admin.NodeExecutionGetDataResponse\"" + + "{\202\323\344\223\002u\022s/api/v1/data/node_executions/{i" + + "d.execution_id.project}/{id.execution_id" + + ".domain}/{id.execution_id.name}/{id.node" + + "_id}\022\177\n\017RegisterProject\022&.flyteidl.admin" + + ".ProjectRegisterRequest\032\'.flyteidl.admin" + + ".ProjectRegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v" + + "1/projects:\001*\022q\n\rUpdateProject\022\027.flyteid" + + "l.admin.Project\032%.flyteidl.admin.Project" + + "UpdateResponse\" \202\323\344\223\002\032\032\025/api/v1/projects" + + "/{id}:\001*\022f\n\014ListProjects\022\".flyteidl.admi" + + "n.ProjectListRequest\032\030.flyteidl.admin.Pr" + + "ojects\"\030\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023Cre" + + "ateWorkflowEvent\022-.flyteidl.admin.Workfl" + + "owExecutionEventRequest\032..flyteidl.admin" + + ".WorkflowExecutionEventResponse\"#\202\323\344\223\002\035\"" + + "\030/api/v1/events/workflows:\001*\022\211\001\n\017CreateN" + + "odeEvent\022).flyteidl.admin.NodeExecutionE" + + "ventRequest\032*.flyteidl.admin.NodeExecuti" + + "onEventResponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/" + + "nodes:\001*\022\211\001\n\017CreateTaskEvent\022).flyteidl." + + "admin.TaskExecutionEventRequest\032*.flytei" + + "dl.admin.TaskExecutionEventResponse\"\037\202\323\344" + + "\223\002\031\"\024/api/v1/events/tasks:\001*\022\200\003\n\020GetTask" + + "Execution\022\'.flyteidl.admin.TaskExecution" + + "GetRequest\032\035.flyteidl.admin.TaskExecutio" + + "n\"\243\002\202\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{i" + + "d.node_execution_id.execution_id.project" + + "}/{id.node_execution_id.execution_id.dom" + + "ain}/{id.node_execution_id.execution_id." + + "name}/{id.node_execution_id.node_id}/{id" + + ".task_id.project}/{id.task_id.domain}/{i" + + "d.task_id.name}/{id.task_id.version}/{id" + + ".retry_attempt}\022\230\002\n\022ListTaskExecutions\022(" + + ".flyteidl.admin.TaskExecutionListRequest" + + "\032!.flyteidl.admin.TaskExecutionList\"\264\001\202\323" + + "\344\223\002\255\001\022\252\001/api/v1/task_executions/{node_ex" + + "ecution_id.execution_id.project}/{node_e" + + "xecution_id.execution_id.domain}/{node_e" + + "xecution_id.execution_id.name}/{node_exe" + + "cution_id.node_id}\022\234\003\n\024GetTaskExecutionD" + + "ata\022+.flyteidl.admin.TaskExecutionGetDat" + + "aRequest\032,.flyteidl.admin.TaskExecutionG" + + "etDataResponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/" + + "task_executions/{id.node_execution_id.ex" + + "ecution_id.project}/{id.node_execution_i" + + "d.execution_id.domain}/{id.node_executio" + + "n_id.execution_id.name}/{id.node_executi" + + "on_id.node_id}/{id.task_id.project}/{id." + + "task_id.domain}/{id.task_id.name}/{id.ta" + + "sk_id.version}/{id.retry_attempt}\022\343\001\n\035Up" + + "dateProjectDomainAttributes\0224.flyteidl.a" + + "dmin.ProjectDomainAttributesUpdateReques" + + "t\0325.flyteidl.admin.ProjectDomainAttribut" + + "esUpdateResponse\"U\202\323\344\223\002O\032J/api/v1/projec" + + "t_domain_attributes/{attributes.project}" + + "/{attributes.domain}:\001*\022\301\001\n\032GetProjectDo" + + "mainAttributes\0221.flyteidl.admin.ProjectD" + + "omainAttributesGetRequest\0322.flyteidl.adm" + + "in.ProjectDomainAttributesGetResponse\"<\202" + + "\323\344\223\0026\0224/api/v1/project_domain_attributes" + + "/{project}/{domain}\022\315\001\n\035DeleteProjectDom" + + "ainAttributes\0224.flyteidl.admin.ProjectDo" + + "mainAttributesDeleteRequest\0325.flyteidl.a" + + "dmin.ProjectDomainAttributesDeleteRespon" + + "se\"?\202\323\344\223\0029*4/api/v1/project_domain_attri" + + "butes/{project}/{domain}:\001*\022\266\001\n\027UpdatePr" + + "ojectAttributes\022..flyteidl.admin.Project" + + "AttributesUpdateRequest\032/.flyteidl.admin" + + ".ProjectAttributesUpdateResponse\":\202\323\344\223\0024" + + "\032//api/v1/project_attributes/{attributes" + + ".project}:\001*\022\237\001\n\024GetProjectAttributes\022+." + + "flyteidl.admin.ProjectAttributesGetReque" + + "st\032,.flyteidl.admin.ProjectAttributesGet" + + "Response\",\202\323\344\223\002&\022$/api/v1/project_attrib" + + "utes/{project}\022\253\001\n\027DeleteProjectAttribut" + + "es\022..flyteidl.admin.ProjectAttributesDel" + + "eteRequest\032/.flyteidl.admin.ProjectAttri" + + "butesDeleteResponse\"/\202\323\344\223\002)*$/api/v1/pro" + + "ject_attributes/{project}:\001*\022\344\001\n\030UpdateW" + + "orkflowAttributes\022/.flyteidl.admin.Workf" + + "lowAttributesUpdateRequest\0320.flyteidl.ad" + + "min.WorkflowAttributesUpdateResponse\"e\202\323" + + "\344\223\002_\032Z/api/v1/workflow_attributes/{attri" + + "butes.project}/{attributes.domain}/{attr" + + "ibutes.workflow}:\001*\022\267\001\n\025GetWorkflowAttri" + + "butes\022,.flyteidl.admin.WorkflowAttribute" + + "sGetRequest\032-.flyteidl.admin.WorkflowAtt" + + "ributesGetResponse\"A\202\323\344\223\002;\0229/api/v1/work" + + "flow_attributes/{project}/{domain}/{work" + + "flow}\022\303\001\n\030DeleteWorkflowAttributes\022/.fly" + + "teidl.admin.WorkflowAttributesDeleteRequ" + + "est\0320.flyteidl.admin.WorkflowAttributesD" + + "eleteResponse\"D\202\323\344\223\002>*9/api/v1/workflow_" + + "attributes/{project}/{domain}/{workflow}" + + ":\001*\022\240\001\n\027ListMatchableAttributes\022..flytei" + + "dl.admin.ListMatchableAttributesRequest\032" + + "/.flyteidl.admin.ListMatchableAttributes" + + "Response\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attr" + + "ibutes\022\237\001\n\021ListNamedEntities\022&.flyteidl." + + "admin.NamedEntityListRequest\032\037.flyteidl." + + "admin.NamedEntityList\"A\202\323\344\223\002;\0229/api/v1/n" + + "amed_entities/{resource_type}/{project}/" + + "{domain}\022\247\001\n\016GetNamedEntity\022%.flyteidl.a" + + "dmin.NamedEntityGetRequest\032\033.flyteidl.ad" + + "min.NamedEntity\"Q\202\323\344\223\002K\022I/api/v1/named_e" + + "ntities/{resource_type}/{id.project}/{id" + + ".domain}/{id.name}\022\276\001\n\021UpdateNamedEntity" + + "\022(.flyteidl.admin.NamedEntityUpdateReque" + + "st\032).flyteidl.admin.NamedEntityUpdateRes" + + "ponse\"T\202\323\344\223\002N\032I/api/v1/named_entities/{r" + + "esource_type}/{id.project}/{id.domain}/{" + + "id.name}:\001*\022l\n\nGetVersion\022!.flyteidl.adm" + + "in.GetVersionRequest\032\".flyteidl.admin.Ge" + + "tVersionResponse\"\027\202\323\344\223\002\021\022\017/api/v1/versio" + + "n\022\304\001\n\024GetDescriptionEntity\022 .flyteidl.ad" + + "min.ObjectGetRequest\032!.flyteidl.admin.De" + + "scriptionEntity\"g\202\323\344\223\002a\022_/api/v1/descrip" + + "tion_entities/{id.resource_type}/{id.pro" + "ject}/{id.domain}/{id.name}/{id.version}" + - ":\001*\022\201\001\n\017CreateExecution\022&.flyteidl.admin" + - ".ExecutionCreateRequest\032\'.flyteidl.admin" + - ".ExecutionCreateResponse\"\035\202\323\344\223\002\027\"\022/api/v" + - "1/executions:\001*\022\216\001\n\021RelaunchExecution\022(." + - "flyteidl.admin.ExecutionRelaunchRequest\032" + - "\'.flyteidl.admin.ExecutionCreateResponse" + - "\"&\202\323\344\223\002 \"\033/api/v1/executions/relaunch:\001*" + - "\022\213\001\n\020RecoverExecution\022\'.flyteidl.admin.E" + - "xecutionRecoverRequest\032\'.flyteidl.admin." + - "ExecutionCreateResponse\"%\202\323\344\223\002\037\"\032/api/v1" + - "/executions/recover:\001*\022\225\001\n\014GetExecution\022" + - "+.flyteidl.admin.WorkflowExecutionGetReq" + - "uest\032\031.flyteidl.admin.Execution\"=\202\323\344\223\0027\022" + - "5/api/v1/executions/{id.project}/{id.dom" + - "ain}/{id.name}\022\244\001\n\017UpdateExecution\022&.fly" + - "teidl.admin.ExecutionUpdateRequest\032\'.fly" + - "teidl.admin.ExecutionUpdateResponse\"@\202\323\344" + - "\223\002:\0325/api/v1/executions/{id.project}/{id" + - ".domain}/{id.name}:\001*\022\271\001\n\020GetExecutionDa" + - "ta\022/.flyteidl.admin.WorkflowExecutionGet" + - "DataRequest\0320.flyteidl.admin.WorkflowExe" + - "cutionGetDataResponse\"B\202\323\344\223\002<\022:/api/v1/d" + - "ata/executions/{id.project}/{id.domain}/" + - "{id.name}\022\211\001\n\016ListExecutions\022#.flyteidl." + - "admin.ResourceListRequest\032\035.flyteidl.adm" + - "in.ExecutionList\"3\202\323\344\223\002-\022+/api/v1/execut" + - "ions/{id.project}/{id.domain}\022\255\001\n\022Termin" + - "ateExecution\022).flyteidl.admin.ExecutionT" + - "erminateRequest\032*.flyteidl.admin.Executi" + - "onTerminateResponse\"@\202\323\344\223\002:*5/api/v1/exe" + - "cutions/{id.project}/{id.domain}/{id.nam" + - "e}:\001*\022\322\001\n\020GetNodeExecution\022\'.flyteidl.ad" + - "min.NodeExecutionGetRequest\032\035.flyteidl.a" + - "dmin.NodeExecution\"v\202\323\344\223\002p\022n/api/v1/node" + - "_executions/{id.execution_id.project}/{i" + - "d.execution_id.domain}/{id.execution_id." + - "name}/{id.node_id}\022\336\001\n\022ListNodeExecution" + - "s\022(.flyteidl.admin.NodeExecutionListRequ" + - "est\032!.flyteidl.admin.NodeExecutionList\"{" + - "\202\323\344\223\002u\022s/api/v1/node_executions/{workflo" + - "w_execution_id.project}/{workflow_execut" + - "ion_id.domain}/{workflow_execution_id.na" + - "me}\022\245\004\n\031ListNodeExecutionsForTask\022/.flyt" + - "eidl.admin.NodeExecutionForTaskListReque" + - "st\032!.flyteidl.admin.NodeExecutionList\"\263\003" + - "\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_executio" + - "ns/{task_execution_id.node_execution_id." + - "execution_id.project}/{task_execution_id" + - ".node_execution_id.execution_id.domain}/" + - "{task_execution_id.node_execution_id.exe" + - "cution_id.name}/{task_execution_id.node_" + - "execution_id.node_id}/{task_execution_id" + - ".task_id.project}/{task_execution_id.tas" + - "k_id.domain}/{task_execution_id.task_id." + - "name}/{task_execution_id.task_id.version" + - "}/{task_execution_id.retry_attempt}\022\356\001\n\024" + - "GetNodeExecutionData\022+.flyteidl.admin.No" + - "deExecutionGetDataRequest\032,.flyteidl.adm" + - "in.NodeExecutionGetDataResponse\"{\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}\022\177\n\017" + - "RegisterProject\022&.flyteidl.admin.Project" + - "RegisterRequest\032\'.flyteidl.admin.Project" + - "RegisterResponse\"\033\202\323\344\223\002\025\"\020/api/v1/projec" + - "ts:\001*\022q\n\rUpdateProject\022\027.flyteidl.admin." + - "Project\032%.flyteidl.admin.ProjectUpdateRe" + - "sponse\" \202\323\344\223\002\032\032\025/api/v1/projects/{id}:\001*" + - "\022f\n\014ListProjects\022\".flyteidl.admin.Projec" + - "tListRequest\032\030.flyteidl.admin.Projects\"\030" + - "\202\323\344\223\002\022\022\020/api/v1/projects\022\231\001\n\023CreateWorkf" + - "lowEvent\022-.flyteidl.admin.WorkflowExecut" + - "ionEventRequest\032..flyteidl.admin.Workflo" + - "wExecutionEventResponse\"#\202\323\344\223\002\035\"\030/api/v1" + - "/events/workflows:\001*\022\211\001\n\017CreateNodeEvent" + - "\022).flyteidl.admin.NodeExecutionEventRequ" + - "est\032*.flyteidl.admin.NodeExecutionEventR" + - "esponse\"\037\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*" + - "\022\211\001\n\017CreateTaskEvent\022).flyteidl.admin.Ta" + - "skExecutionEventRequest\032*.flyteidl.admin" + - ".TaskExecutionEventResponse\"\037\202\323\344\223\002\031\"\024/ap" + - "i/v1/events/tasks:\001*\022\200\003\n\020GetTaskExecutio" + - "n\022\'.flyteidl.admin.TaskExecutionGetReque" + - "st\032\035.flyteidl.admin.TaskExecution\"\243\002\202\323\344\223" + - "\002\234\002\022\231\002/api/v1/task_executions/{id.node_e" + - "xecution_id.execution_id.project}/{id.no" + - "de_execution_id.execution_id.domain}/{id" + - ".node_execution_id.execution_id.name}/{i" + - "d.node_execution_id.node_id}/{id.task_id" + - ".project}/{id.task_id.domain}/{id.task_i" + - "d.name}/{id.task_id.version}/{id.retry_a" + - "ttempt}\022\230\002\n\022ListTaskExecutions\022(.flyteid" + - "l.admin.TaskExecutionListRequest\032!.flyte" + - "idl.admin.TaskExecutionList\"\264\001\202\323\344\223\002\255\001\022\252\001" + - "/api/v1/task_executions/{node_execution_" + - "id.execution_id.project}/{node_execution" + - "_id.execution_id.domain}/{node_execution" + - "_id.execution_id.name}/{node_execution_i" + - "d.node_id}\022\234\003\n\024GetTaskExecutionData\022+.fl" + - "yteidl.admin.TaskExecutionGetDataRequest" + - "\032,.flyteidl.admin.TaskExecutionGetDataRe" + - "sponse\"\250\002\202\323\344\223\002\241\002\022\236\002/api/v1/data/task_exe" + - "cutions/{id.node_execution_id.execution_" + - "id.project}/{id.node_execution_id.execut" + - "ion_id.domain}/{id.node_execution_id.exe" + - "cution_id.name}/{id.node_execution_id.no" + - "de_id}/{id.task_id.project}/{id.task_id." + - "domain}/{id.task_id.name}/{id.task_id.ve" + - "rsion}/{id.retry_attempt}\022\343\001\n\035UpdateProj" + - "ectDomainAttributes\0224.flyteidl.admin.Pro" + - "jectDomainAttributesUpdateRequest\0325.flyt" + - "eidl.admin.ProjectDomainAttributesUpdate" + - "Response\"U\202\323\344\223\002O\032J/api/v1/project_domain" + - "_attributes/{attributes.project}/{attrib" + - "utes.domain}:\001*\022\301\001\n\032GetProjectDomainAttr" + - "ibutes\0221.flyteidl.admin.ProjectDomainAtt" + - "ributesGetRequest\0322.flyteidl.admin.Proje" + - "ctDomainAttributesGetResponse\"<\202\323\344\223\0026\0224/" + - "api/v1/project_domain_attributes/{projec" + - "t}/{domain}\022\315\001\n\035DeleteProjectDomainAttri" + - "butes\0224.flyteidl.admin.ProjectDomainAttr" + - "ibutesDeleteRequest\0325.flyteidl.admin.Pro" + - "jectDomainAttributesDeleteResponse\"?\202\323\344\223" + - "\0029*4/api/v1/project_domain_attributes/{p" + - "roject}/{domain}:\001*\022\266\001\n\027UpdateProjectAtt" + - "ributes\022..flyteidl.admin.ProjectAttribut" + - "esUpdateRequest\032/.flyteidl.admin.Project" + - "AttributesUpdateResponse\":\202\323\344\223\0024\032//api/v" + - "1/project_attributes/{attributes.project" + - "}:\001*\022\237\001\n\024GetProjectAttributes\022+.flyteidl" + - ".admin.ProjectAttributesGetRequest\032,.fly" + - "teidl.admin.ProjectAttributesGetResponse" + - "\",\202\323\344\223\002&\022$/api/v1/project_attributes/{pr" + - "oject}\022\253\001\n\027DeleteProjectAttributes\022..fly" + - "teidl.admin.ProjectAttributesDeleteReque" + - "st\032/.flyteidl.admin.ProjectAttributesDel" + - "eteResponse\"/\202\323\344\223\002)*$/api/v1/project_att" + - "ributes/{project}:\001*\022\344\001\n\030UpdateWorkflowA" + - "ttributes\022/.flyteidl.admin.WorkflowAttri" + - "butesUpdateRequest\0320.flyteidl.admin.Work" + - "flowAttributesUpdateResponse\"e\202\323\344\223\002_\032Z/a" + - "pi/v1/workflow_attributes/{attributes.pr" + - "oject}/{attributes.domain}/{attributes.w" + - "orkflow}:\001*\022\267\001\n\025GetWorkflowAttributes\022,." + - "flyteidl.admin.WorkflowAttributesGetRequ" + - "est\032-.flyteidl.admin.WorkflowAttributesG" + - "etResponse\"A\202\323\344\223\002;\0229/api/v1/workflow_att" + - "ributes/{project}/{domain}/{workflow}\022\303\001" + - "\n\030DeleteWorkflowAttributes\022/.flyteidl.ad" + - "min.WorkflowAttributesDeleteRequest\0320.fl" + - "yteidl.admin.WorkflowAttributesDeleteRes" + - "ponse\"D\202\323\344\223\002>*9/api/v1/workflow_attribut" + - "es/{project}/{domain}/{workflow}:\001*\022\240\001\n\027" + - "ListMatchableAttributes\022..flyteidl.admin" + - ".ListMatchableAttributesRequest\032/.flytei" + - "dl.admin.ListMatchableAttributesResponse" + - "\"$\202\323\344\223\002\036\022\034/api/v1/matchable_attributes\022\237" + - "\001\n\021ListNamedEntities\022&.flyteidl.admin.Na" + - "medEntityListRequest\032\037.flyteidl.admin.Na" + - "medEntityList\"A\202\323\344\223\002;\0229/api/v1/named_ent" + - "ities/{resource_type}/{project}/{domain}" + - "\022\247\001\n\016GetNamedEntity\022%.flyteidl.admin.Nam" + - "edEntityGetRequest\032\033.flyteidl.admin.Name" + - "dEntity\"Q\202\323\344\223\002K\022I/api/v1/named_entities/" + - "{resource_type}/{id.project}/{id.domain}" + - "/{id.name}\022\276\001\n\021UpdateNamedEntity\022(.flyte" + - "idl.admin.NamedEntityUpdateRequest\032).fly" + - "teidl.admin.NamedEntityUpdateResponse\"T\202" + - "\323\344\223\002N\032I/api/v1/named_entities/{resource_" + - "type}/{id.project}/{id.domain}/{id.name}" + - ":\001*\022l\n\nGetVersion\022!.flyteidl.admin.GetVe" + - "rsionRequest\032\".flyteidl.admin.GetVersion" + - "Response\"\027\202\323\344\223\002\021\022\017/api/v1/version\022\304\001\n\024Ge" + - "tDescriptionEntity\022 .flyteidl.admin.Obje" + - "ctGetRequest\032!.flyteidl.admin.Descriptio" + - "nEntity\"g\202\323\344\223\002a\022_/api/v1/description_ent" + - "ities/{id.resource_type}/{id.project}/{i" + - "d.domain}/{id.name}/{id.version}\022\222\002\n\027Lis" + - "tDescriptionEntities\022,.flyteidl.admin.De" + - "scriptionEntityListRequest\032%.flyteidl.ad" + - "min.DescriptionEntityList\"\241\001\202\323\344\223\002\232\001\022O/ap" + - "i/v1/description_entities/{resource_type" + - "}/{id.project}/{id.domain}/{id.name}ZG\022E" + - "/api/v1/description_entities/{resource_t" + - "ype}/{id.project}/{id.domain}B9Z7github." + - "com/flyteorg/flyteidl/gen/pb-go/flyteidl" + - "/serviceb\006proto3" + "\022\222\002\n\027ListDescriptionEntities\022,.flyteidl." + + "admin.DescriptionEntityListRequest\032%.fly" + + "teidl.admin.DescriptionEntityList\"\241\001\202\323\344\223" + + "\002\232\001\022O/api/v1/description_entities/{resou" + + "rce_type}/{id.project}/{id.domain}/{id.n" + + "ame}ZG\022E/api/v1/description_entities/{re" + + "source_type}/{id.project}/{id.domain}B9Z" + + "7github.com/flyteorg/flyteidl/gen/pb-go/" + + "flyteidl/serviceb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -314,7 +313,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.admin.VersionOuterClass.getDescriptor(), flyteidl.admin.Common.getDescriptor(), flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(), - flyteidl.core.IdentifierOuterClass.getDescriptor(), }, assigner); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); @@ -337,7 +335,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( flyteidl.admin.VersionOuterClass.getDescriptor(); flyteidl.admin.Common.getDescriptor(); flyteidl.admin.DescriptionEntityOuterClass.getDescriptor(); - flyteidl.core.IdentifierOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/gen/pb-java/flyteidl/service/Cache.java b/gen/pb-java/flyteidl/service/Cache.java new file mode 100644 index 000000000..1d4012eba --- /dev/null +++ b/gen/pb-java/flyteidl/service/Cache.java @@ -0,0 +1,2117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/service/cache.proto + +package flyteidl.service; + +public final class Cache { + private Cache() {} + 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 EvictExecutionCacheRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.EvictExecutionCacheRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + boolean hasWorkflowExecutionId(); + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId(); + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.service.EvictExecutionCacheRequest} + */ + public static final class EvictExecutionCacheRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.EvictExecutionCacheRequest) + EvictExecutionCacheRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use EvictExecutionCacheRequest.newBuilder() to construct. + private EvictExecutionCacheRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private EvictExecutionCacheRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private EvictExecutionCacheRequest( + 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.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; + if (workflowExecutionId_ != null) { + subBuilder = workflowExecutionId_.toBuilder(); + } + workflowExecutionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowExecutionId_); + workflowExecutionId_ = 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.service.Cache.internal_static_flyteidl_service_EvictExecutionCacheRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictExecutionCacheRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Cache.EvictExecutionCacheRequest.class, flyteidl.service.Cache.EvictExecutionCacheRequest.Builder.class); + } + + public static final int WORKFLOW_EXECUTION_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecutionId_; + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public boolean hasWorkflowExecutionId() { + return workflowExecutionId_ != null; + } + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() { + return workflowExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_; + } + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+     * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() { + return getWorkflowExecutionId(); + } + + 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 (workflowExecutionId_ != null) { + output.writeMessage(1, getWorkflowExecutionId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (workflowExecutionId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWorkflowExecutionId()); + } + 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.service.Cache.EvictExecutionCacheRequest)) { + return super.equals(obj); + } + flyteidl.service.Cache.EvictExecutionCacheRequest other = (flyteidl.service.Cache.EvictExecutionCacheRequest) obj; + + if (hasWorkflowExecutionId() != other.hasWorkflowExecutionId()) return false; + if (hasWorkflowExecutionId()) { + if (!getWorkflowExecutionId() + .equals(other.getWorkflowExecutionId())) 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 (hasWorkflowExecutionId()) { + hash = (37 * hash) + WORKFLOW_EXECUTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowExecutionId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.Cache.EvictExecutionCacheRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest 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.service.Cache.EvictExecutionCacheRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest 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.service.Cache.EvictExecutionCacheRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictExecutionCacheRequest 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.service.Cache.EvictExecutionCacheRequest 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.service.EvictExecutionCacheRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.EvictExecutionCacheRequest) + flyteidl.service.Cache.EvictExecutionCacheRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictExecutionCacheRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictExecutionCacheRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Cache.EvictExecutionCacheRequest.class, flyteidl.service.Cache.EvictExecutionCacheRequest.Builder.class); + } + + // Construct using flyteidl.service.Cache.EvictExecutionCacheRequest.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 (workflowExecutionIdBuilder_ == null) { + workflowExecutionId_ = null; + } else { + workflowExecutionId_ = null; + workflowExecutionIdBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictExecutionCacheRequest_descriptor; + } + + @java.lang.Override + public flyteidl.service.Cache.EvictExecutionCacheRequest getDefaultInstanceForType() { + return flyteidl.service.Cache.EvictExecutionCacheRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.Cache.EvictExecutionCacheRequest build() { + flyteidl.service.Cache.EvictExecutionCacheRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.Cache.EvictExecutionCacheRequest buildPartial() { + flyteidl.service.Cache.EvictExecutionCacheRequest result = new flyteidl.service.Cache.EvictExecutionCacheRequest(this); + if (workflowExecutionIdBuilder_ == null) { + result.workflowExecutionId_ = workflowExecutionId_; + } else { + result.workflowExecutionId_ = workflowExecutionIdBuilder_.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.service.Cache.EvictExecutionCacheRequest) { + return mergeFrom((flyteidl.service.Cache.EvictExecutionCacheRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.Cache.EvictExecutionCacheRequest other) { + if (other == flyteidl.service.Cache.EvictExecutionCacheRequest.getDefaultInstance()) return this; + if (other.hasWorkflowExecutionId()) { + mergeWorkflowExecutionId(other.getWorkflowExecutionId()); + } + 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.service.Cache.EvictExecutionCacheRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.Cache.EvictExecutionCacheRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecutionId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> workflowExecutionIdBuilder_; + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public boolean hasWorkflowExecutionId() { + return workflowExecutionIdBuilder_ != null || workflowExecutionId_ != null; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecutionId() { + if (workflowExecutionIdBuilder_ == null) { + return workflowExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_; + } else { + return workflowExecutionIdBuilder_.getMessage(); + } + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public Builder setWorkflowExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowExecutionIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workflowExecutionId_ = value; + onChanged(); + } else { + workflowExecutionIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public Builder setWorkflowExecutionId( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (workflowExecutionIdBuilder_ == null) { + workflowExecutionId_ = builderForValue.build(); + onChanged(); + } else { + workflowExecutionIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public Builder mergeWorkflowExecutionId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowExecutionIdBuilder_ == null) { + if (workflowExecutionId_ != null) { + workflowExecutionId_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(workflowExecutionId_).mergeFrom(value).buildPartial(); + } else { + workflowExecutionId_ = value; + } + onChanged(); + } else { + workflowExecutionIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public Builder clearWorkflowExecutionId() { + if (workflowExecutionIdBuilder_ == null) { + workflowExecutionId_ = null; + onChanged(); + } else { + workflowExecutionId_ = null; + workflowExecutionIdBuilder_ = null; + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowExecutionIdBuilder() { + + onChanged(); + return getWorkflowExecutionIdFieldBuilder().getBuilder(); + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionIdOrBuilder() { + if (workflowExecutionIdBuilder_ != null) { + return workflowExecutionIdBuilder_.getMessageOrBuilder(); + } else { + return workflowExecutionId_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecutionId_; + } + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for.
+       * 
+ * + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getWorkflowExecutionIdFieldBuilder() { + if (workflowExecutionIdBuilder_ == null) { + workflowExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getWorkflowExecutionId(), + getParentForChildren(), + isClean()); + workflowExecutionId_ = null; + } + return workflowExecutionIdBuilder_; + } + @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.service.EvictExecutionCacheRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.EvictExecutionCacheRequest) + private static final flyteidl.service.Cache.EvictExecutionCacheRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.Cache.EvictExecutionCacheRequest(); + } + + public static flyteidl.service.Cache.EvictExecutionCacheRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EvictExecutionCacheRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EvictExecutionCacheRequest(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.service.Cache.EvictExecutionCacheRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface EvictTaskExecutionCacheRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.EvictTaskExecutionCacheRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + boolean hasTaskExecutionId(); + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId(); + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.service.EvictTaskExecutionCacheRequest} + */ + public static final class EvictTaskExecutionCacheRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.EvictTaskExecutionCacheRequest) + EvictTaskExecutionCacheRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use EvictTaskExecutionCacheRequest.newBuilder() to construct. + private EvictTaskExecutionCacheRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private EvictTaskExecutionCacheRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private EvictTaskExecutionCacheRequest( + 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.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder subBuilder = null; + if (taskExecutionId_ != null) { + subBuilder = taskExecutionId_.toBuilder(); + } + taskExecutionId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(taskExecutionId_); + taskExecutionId_ = 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.service.Cache.internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Cache.EvictTaskExecutionCacheRequest.class, flyteidl.service.Cache.EvictTaskExecutionCacheRequest.Builder.class); + } + + public static final int TASK_EXECUTION_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecutionId_; + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public boolean hasTaskExecutionId() { + return taskExecutionId_ != null; + } + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() { + return taskExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_; + } + /** + *
+     * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+     * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() { + return getTaskExecutionId(); + } + + 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 (taskExecutionId_ != null) { + output.writeMessage(1, getTaskExecutionId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (taskExecutionId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTaskExecutionId()); + } + 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.service.Cache.EvictTaskExecutionCacheRequest)) { + return super.equals(obj); + } + flyteidl.service.Cache.EvictTaskExecutionCacheRequest other = (flyteidl.service.Cache.EvictTaskExecutionCacheRequest) obj; + + if (hasTaskExecutionId() != other.hasTaskExecutionId()) return false; + if (hasTaskExecutionId()) { + if (!getTaskExecutionId() + .equals(other.getTaskExecutionId())) 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 (hasTaskExecutionId()) { + hash = (37 * hash) + TASK_EXECUTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getTaskExecutionId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest 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.service.Cache.EvictTaskExecutionCacheRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest 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.service.Cache.EvictTaskExecutionCacheRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest 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.service.Cache.EvictTaskExecutionCacheRequest 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.service.EvictTaskExecutionCacheRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.EvictTaskExecutionCacheRequest) + flyteidl.service.Cache.EvictTaskExecutionCacheRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Cache.EvictTaskExecutionCacheRequest.class, flyteidl.service.Cache.EvictTaskExecutionCacheRequest.Builder.class); + } + + // Construct using flyteidl.service.Cache.EvictTaskExecutionCacheRequest.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 (taskExecutionIdBuilder_ == null) { + taskExecutionId_ = null; + } else { + taskExecutionId_ = null; + taskExecutionIdBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_descriptor; + } + + @java.lang.Override + public flyteidl.service.Cache.EvictTaskExecutionCacheRequest getDefaultInstanceForType() { + return flyteidl.service.Cache.EvictTaskExecutionCacheRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.Cache.EvictTaskExecutionCacheRequest build() { + flyteidl.service.Cache.EvictTaskExecutionCacheRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.Cache.EvictTaskExecutionCacheRequest buildPartial() { + flyteidl.service.Cache.EvictTaskExecutionCacheRequest result = new flyteidl.service.Cache.EvictTaskExecutionCacheRequest(this); + if (taskExecutionIdBuilder_ == null) { + result.taskExecutionId_ = taskExecutionId_; + } else { + result.taskExecutionId_ = taskExecutionIdBuilder_.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.service.Cache.EvictTaskExecutionCacheRequest) { + return mergeFrom((flyteidl.service.Cache.EvictTaskExecutionCacheRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.Cache.EvictTaskExecutionCacheRequest other) { + if (other == flyteidl.service.Cache.EvictTaskExecutionCacheRequest.getDefaultInstance()) return this; + if (other.hasTaskExecutionId()) { + mergeTaskExecutionId(other.getTaskExecutionId()); + } + 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.service.Cache.EvictTaskExecutionCacheRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.Cache.EvictTaskExecutionCacheRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier taskExecutionId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> taskExecutionIdBuilder_; + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public boolean hasTaskExecutionId() { + return taskExecutionIdBuilder_ != null || taskExecutionId_ != null; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier getTaskExecutionId() { + if (taskExecutionIdBuilder_ == null) { + return taskExecutionId_ == null ? flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_; + } else { + return taskExecutionIdBuilder_.getMessage(); + } + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public Builder setTaskExecutionId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskExecutionIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + taskExecutionId_ = value; + onChanged(); + } else { + taskExecutionIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public Builder setTaskExecutionId( + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder builderForValue) { + if (taskExecutionIdBuilder_ == null) { + taskExecutionId_ = builderForValue.build(); + onChanged(); + } else { + taskExecutionIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public Builder mergeTaskExecutionId(flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier value) { + if (taskExecutionIdBuilder_ == null) { + if (taskExecutionId_ != null) { + taskExecutionId_ = + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.newBuilder(taskExecutionId_).mergeFrom(value).buildPartial(); + } else { + taskExecutionId_ = value; + } + onChanged(); + } else { + taskExecutionIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public Builder clearTaskExecutionId() { + if (taskExecutionIdBuilder_ == null) { + taskExecutionId_ = null; + onChanged(); + } else { + taskExecutionId_ = null; + taskExecutionIdBuilder_ = null; + } + + return this; + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder getTaskExecutionIdBuilder() { + + onChanged(); + return getTaskExecutionIdFieldBuilder().getBuilder(); + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecutionIdOrBuilder() { + if (taskExecutionIdBuilder_ != null) { + return taskExecutionIdBuilder_.getMessageOrBuilder(); + } else { + return taskExecutionId_ == null ? + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.getDefaultInstance() : taskExecutionId_; + } + } + /** + *
+       * Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for.
+       * 
+ * + * .flyteidl.core.TaskExecutionIdentifier task_execution_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder> + getTaskExecutionIdFieldBuilder() { + if (taskExecutionIdBuilder_ == null) { + taskExecutionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder>( + getTaskExecutionId(), + getParentForChildren(), + isClean()); + taskExecutionId_ = null; + } + return taskExecutionIdBuilder_; + } + @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.service.EvictTaskExecutionCacheRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.EvictTaskExecutionCacheRequest) + private static final flyteidl.service.Cache.EvictTaskExecutionCacheRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.Cache.EvictTaskExecutionCacheRequest(); + } + + public static flyteidl.service.Cache.EvictTaskExecutionCacheRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EvictTaskExecutionCacheRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EvictTaskExecutionCacheRequest(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.service.Cache.EvictTaskExecutionCacheRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface EvictCacheResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.service.EvictCacheResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * List of errors encountered during cache eviction (if any).
+     * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + boolean hasErrors(); + /** + *
+     * List of errors encountered during cache eviction (if any).
+     * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + flyteidl.core.Errors.CacheEvictionErrorList getErrors(); + /** + *
+     * List of errors encountered during cache eviction (if any).
+     * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + flyteidl.core.Errors.CacheEvictionErrorListOrBuilder getErrorsOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.service.EvictCacheResponse} + */ + public static final class EvictCacheResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.service.EvictCacheResponse) + EvictCacheResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use EvictCacheResponse.newBuilder() to construct. + private EvictCacheResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private EvictCacheResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private EvictCacheResponse( + 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.core.Errors.CacheEvictionErrorList.Builder subBuilder = null; + if (errors_ != null) { + subBuilder = errors_.toBuilder(); + } + errors_ = input.readMessage(flyteidl.core.Errors.CacheEvictionErrorList.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(errors_); + errors_ = 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.service.Cache.internal_static_flyteidl_service_EvictCacheResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictCacheResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Cache.EvictCacheResponse.class, flyteidl.service.Cache.EvictCacheResponse.Builder.class); + } + + public static final int ERRORS_FIELD_NUMBER = 1; + private flyteidl.core.Errors.CacheEvictionErrorList errors_; + /** + *
+     * List of errors encountered during cache eviction (if any).
+     * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public boolean hasErrors() { + return errors_ != null; + } + /** + *
+     * List of errors encountered during cache eviction (if any).
+     * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionErrorList getErrors() { + return errors_ == null ? flyteidl.core.Errors.CacheEvictionErrorList.getDefaultInstance() : errors_; + } + /** + *
+     * List of errors encountered during cache eviction (if any).
+     * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionErrorListOrBuilder getErrorsOrBuilder() { + return getErrors(); + } + + 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 (errors_ != null) { + output.writeMessage(1, getErrors()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (errors_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getErrors()); + } + 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.service.Cache.EvictCacheResponse)) { + return super.equals(obj); + } + flyteidl.service.Cache.EvictCacheResponse other = (flyteidl.service.Cache.EvictCacheResponse) obj; + + if (hasErrors() != other.hasErrors()) return false; + if (hasErrors()) { + if (!getErrors() + .equals(other.getErrors())) 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 (hasErrors()) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrors().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.service.Cache.EvictCacheResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictCacheResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictCacheResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictCacheResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictCacheResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.service.Cache.EvictCacheResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.service.Cache.EvictCacheResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictCacheResponse 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.service.Cache.EvictCacheResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictCacheResponse 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.service.Cache.EvictCacheResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.service.Cache.EvictCacheResponse 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.service.Cache.EvictCacheResponse 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.service.EvictCacheResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.service.EvictCacheResponse) + flyteidl.service.Cache.EvictCacheResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictCacheResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictCacheResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.service.Cache.EvictCacheResponse.class, flyteidl.service.Cache.EvictCacheResponse.Builder.class); + } + + // Construct using flyteidl.service.Cache.EvictCacheResponse.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 (errorsBuilder_ == null) { + errors_ = null; + } else { + errors_ = null; + errorsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.service.Cache.internal_static_flyteidl_service_EvictCacheResponse_descriptor; + } + + @java.lang.Override + public flyteidl.service.Cache.EvictCacheResponse getDefaultInstanceForType() { + return flyteidl.service.Cache.EvictCacheResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.service.Cache.EvictCacheResponse build() { + flyteidl.service.Cache.EvictCacheResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.service.Cache.EvictCacheResponse buildPartial() { + flyteidl.service.Cache.EvictCacheResponse result = new flyteidl.service.Cache.EvictCacheResponse(this); + if (errorsBuilder_ == null) { + result.errors_ = errors_; + } else { + result.errors_ = errorsBuilder_.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.service.Cache.EvictCacheResponse) { + return mergeFrom((flyteidl.service.Cache.EvictCacheResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.service.Cache.EvictCacheResponse other) { + if (other == flyteidl.service.Cache.EvictCacheResponse.getDefaultInstance()) return this; + if (other.hasErrors()) { + mergeErrors(other.getErrors()); + } + 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.service.Cache.EvictCacheResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.service.Cache.EvictCacheResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.Errors.CacheEvictionErrorList errors_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Errors.CacheEvictionErrorList, flyteidl.core.Errors.CacheEvictionErrorList.Builder, flyteidl.core.Errors.CacheEvictionErrorListOrBuilder> errorsBuilder_; + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public boolean hasErrors() { + return errorsBuilder_ != null || errors_ != null; + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionErrorList getErrors() { + if (errorsBuilder_ == null) { + return errors_ == null ? flyteidl.core.Errors.CacheEvictionErrorList.getDefaultInstance() : errors_; + } else { + return errorsBuilder_.getMessage(); + } + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public Builder setErrors(flyteidl.core.Errors.CacheEvictionErrorList value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + errors_ = value; + onChanged(); + } else { + errorsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public Builder setErrors( + flyteidl.core.Errors.CacheEvictionErrorList.Builder builderForValue) { + if (errorsBuilder_ == null) { + errors_ = builderForValue.build(); + onChanged(); + } else { + errorsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public Builder mergeErrors(flyteidl.core.Errors.CacheEvictionErrorList value) { + if (errorsBuilder_ == null) { + if (errors_ != null) { + errors_ = + flyteidl.core.Errors.CacheEvictionErrorList.newBuilder(errors_).mergeFrom(value).buildPartial(); + } else { + errors_ = value; + } + onChanged(); + } else { + errorsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = null; + onChanged(); + } else { + errors_ = null; + errorsBuilder_ = null; + } + + return this; + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionErrorList.Builder getErrorsBuilder() { + + onChanged(); + return getErrorsFieldBuilder().getBuilder(); + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + public flyteidl.core.Errors.CacheEvictionErrorListOrBuilder getErrorsOrBuilder() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilder(); + } else { + return errors_ == null ? + flyteidl.core.Errors.CacheEvictionErrorList.getDefaultInstance() : errors_; + } + } + /** + *
+       * List of errors encountered during cache eviction (if any).
+       * 
+ * + * .flyteidl.core.CacheEvictionErrorList errors = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Errors.CacheEvictionErrorList, flyteidl.core.Errors.CacheEvictionErrorList.Builder, flyteidl.core.Errors.CacheEvictionErrorListOrBuilder> + getErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Errors.CacheEvictionErrorList, flyteidl.core.Errors.CacheEvictionErrorList.Builder, flyteidl.core.Errors.CacheEvictionErrorListOrBuilder>( + getErrors(), + getParentForChildren(), + isClean()); + errors_ = null; + } + return errorsBuilder_; + } + @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.service.EvictCacheResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.service.EvictCacheResponse) + private static final flyteidl.service.Cache.EvictCacheResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.service.Cache.EvictCacheResponse(); + } + + public static flyteidl.service.Cache.EvictCacheResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EvictCacheResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EvictCacheResponse(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.service.Cache.EvictCacheResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_EvictExecutionCacheRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_EvictExecutionCacheRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_service_EvictCacheResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_service_EvictCacheResponse_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\034flyteidl/service/cache.proto\022\020flyteidl" + + ".service\032\034google/api/annotations.proto\032\032" + + "flyteidl/core/errors.proto\032\036flyteidl/cor" + + "e/identifier.proto\"g\n\032EvictExecutionCach" + + "eRequest\022I\n\025workflow_execution_id\030\001 \001(\0132" + + "*.flyteidl.core.WorkflowExecutionIdentif" + + "ier\"c\n\036EvictTaskExecutionCacheRequest\022A\n" + + "\021task_execution_id\030\001 \001(\0132&.flyteidl.core" + + ".TaskExecutionIdentifier\"K\n\022EvictCacheRe" + + "sponse\0225\n\006errors\030\001 \001(\0132%.flyteidl.core.C" + + "acheEvictionErrorList2\237\006\n\014CacheService\022\347" + + "\001\n\023EvictExecutionCache\022,.flyteidl.servic" + + "e.EvictExecutionCacheRequest\032$.flyteidl." + + "service.EvictCacheResponse\"|\202\323\344\223\002v*t/api" + + "/v1/cache/executions/{workflow_execution" + + "_id.project}/{workflow_execution_id.doma" + + "in}/{workflow_execution_id.name}\022\244\004\n\027Evi" + + "ctTaskExecutionCache\0220.flyteidl.service." + + "EvictTaskExecutionCacheRequest\032$.flyteid" + + "l.service.EvictCacheResponse\"\260\003\202\323\344\223\002\251\003*\246" + + "\003/api/v1/cache/task_executions/{task_exe" + + "cution_id.node_execution_id.execution_id" + + ".project}/{task_execution_id.node_execut" + + "ion_id.execution_id.domain}/{task_execut" + + "ion_id.node_execution_id.execution_id.na" + + "me}/{task_execution_id.node_execution_id" + + ".node_id}/{task_execution_id.task_id.pro" + + "ject}/{task_execution_id.task_id.domain}" + + "/{task_execution_id.task_id.name}/{task_" + + "execution_id.task_id.version}/{task_exec" + + "ution_id.retry_attempt}B9Z7github.com/fl" + + "yteorg/flyteidl/gen/pb-go/flyteidl/servi" + + "ceb\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[] { + com.google.api.AnnotationsProto.getDescriptor(), + flyteidl.core.Errors.getDescriptor(), + flyteidl.core.IdentifierOuterClass.getDescriptor(), + }, assigner); + internal_static_flyteidl_service_EvictExecutionCacheRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_service_EvictExecutionCacheRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_EvictExecutionCacheRequest_descriptor, + new java.lang.String[] { "WorkflowExecutionId", }); + internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_EvictTaskExecutionCacheRequest_descriptor, + new java.lang.String[] { "TaskExecutionId", }); + internal_static_flyteidl_service_EvictCacheResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_service_EvictCacheResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_service_EvictCacheResponse_descriptor, + new java.lang.String[] { "Errors", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.AnnotationsProto.http); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + flyteidl.core.Errors.getDescriptor(); + flyteidl.core.IdentifierOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-js/flyteidl.d.ts b/gen/pb-js/flyteidl.d.ts index cb649c124..b2af6d7a8 100644 --- a/gen/pb-js/flyteidl.d.ts +++ b/gen/pb-js/flyteidl.d.ts @@ -6363,6 +6363,149 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a CacheEvictionError. */ + interface ICacheEvictionError { + + /** CacheEvictionError code */ + code?: (flyteidl.core.CacheEvictionError.Code|null); + + /** CacheEvictionError message */ + message?: (string|null); + + /** CacheEvictionError nodeExecutionId */ + nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** CacheEvictionError taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CacheEvictionError workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + } + + /** Represents a CacheEvictionError. */ + class CacheEvictionError implements ICacheEvictionError { + + /** + * Constructs a new CacheEvictionError. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ICacheEvictionError); + + /** CacheEvictionError code. */ + public code: flyteidl.core.CacheEvictionError.Code; + + /** CacheEvictionError message. */ + public message: string; + + /** CacheEvictionError nodeExecutionId. */ + public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** CacheEvictionError taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CacheEvictionError workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CacheEvictionError source. */ + public source?: ("taskExecutionId"|"workflowExecutionId"); + + /** + * Creates a new CacheEvictionError instance using the specified properties. + * @param [properties] Properties to set + * @returns CacheEvictionError instance + */ + public static create(properties?: flyteidl.core.ICacheEvictionError): flyteidl.core.CacheEvictionError; + + /** + * Encodes the specified CacheEvictionError message. Does not implicitly {@link flyteidl.core.CacheEvictionError.verify|verify} messages. + * @param message CacheEvictionError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ICacheEvictionError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CacheEvictionError message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CacheEvictionError + * @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.core.CacheEvictionError; + + /** + * Verifies a CacheEvictionError 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 CacheEvictionError { + + /** Code enum. */ + enum Code { + INTERNAL = 0, + RESERVATION_NOT_ACQUIRED = 1, + DATABASE_UPDATE_FAILED = 2, + ARTIFACT_DELETE_FAILED = 3, + RESERVATION_NOT_RELEASED = 4 + } + } + + /** Properties of a CacheEvictionErrorList. */ + interface ICacheEvictionErrorList { + + /** CacheEvictionErrorList errors */ + errors?: (flyteidl.core.ICacheEvictionError[]|null); + } + + /** Represents a CacheEvictionErrorList. */ + class CacheEvictionErrorList implements ICacheEvictionErrorList { + + /** + * Constructs a new CacheEvictionErrorList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ICacheEvictionErrorList); + + /** CacheEvictionErrorList errors. */ + public errors: flyteidl.core.ICacheEvictionError[]; + + /** + * Creates a new CacheEvictionErrorList instance using the specified properties. + * @param [properties] Properties to set + * @returns CacheEvictionErrorList instance + */ + public static create(properties?: flyteidl.core.ICacheEvictionErrorList): flyteidl.core.CacheEvictionErrorList; + + /** + * Encodes the specified CacheEvictionErrorList message. Does not implicitly {@link flyteidl.core.CacheEvictionErrorList.verify|verify} messages. + * @param message CacheEvictionErrorList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ICacheEvictionErrorList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CacheEvictionErrorList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CacheEvictionErrorList + * @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.core.CacheEvictionErrorList; + + /** + * Verifies a CacheEvictionErrorList 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 WorkflowClosure. */ interface IWorkflowClosure { @@ -18617,6 +18760,228 @@ export namespace flyteidl { type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void; } + /** Properties of an EvictExecutionCacheRequest. */ + interface IEvictExecutionCacheRequest { + + /** EvictExecutionCacheRequest workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + } + + /** Represents an EvictExecutionCacheRequest. */ + class EvictExecutionCacheRequest implements IEvictExecutionCacheRequest { + + /** + * Constructs a new EvictExecutionCacheRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IEvictExecutionCacheRequest); + + /** EvictExecutionCacheRequest workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** + * Creates a new EvictExecutionCacheRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns EvictExecutionCacheRequest instance + */ + public static create(properties?: flyteidl.service.IEvictExecutionCacheRequest): flyteidl.service.EvictExecutionCacheRequest; + + /** + * Encodes the specified EvictExecutionCacheRequest message. Does not implicitly {@link flyteidl.service.EvictExecutionCacheRequest.verify|verify} messages. + * @param message EvictExecutionCacheRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IEvictExecutionCacheRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EvictExecutionCacheRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EvictExecutionCacheRequest + * @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.service.EvictExecutionCacheRequest; + + /** + * Verifies an EvictExecutionCacheRequest 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 EvictTaskExecutionCacheRequest. */ + interface IEvictTaskExecutionCacheRequest { + + /** EvictTaskExecutionCacheRequest taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + } + + /** Represents an EvictTaskExecutionCacheRequest. */ + class EvictTaskExecutionCacheRequest implements IEvictTaskExecutionCacheRequest { + + /** + * Constructs a new EvictTaskExecutionCacheRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IEvictTaskExecutionCacheRequest); + + /** EvictTaskExecutionCacheRequest taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** + * Creates a new EvictTaskExecutionCacheRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns EvictTaskExecutionCacheRequest instance + */ + public static create(properties?: flyteidl.service.IEvictTaskExecutionCacheRequest): flyteidl.service.EvictTaskExecutionCacheRequest; + + /** + * Encodes the specified EvictTaskExecutionCacheRequest message. Does not implicitly {@link flyteidl.service.EvictTaskExecutionCacheRequest.verify|verify} messages. + * @param message EvictTaskExecutionCacheRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IEvictTaskExecutionCacheRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EvictTaskExecutionCacheRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EvictTaskExecutionCacheRequest + * @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.service.EvictTaskExecutionCacheRequest; + + /** + * Verifies an EvictTaskExecutionCacheRequest 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 EvictCacheResponse. */ + interface IEvictCacheResponse { + + /** EvictCacheResponse errors */ + errors?: (flyteidl.core.ICacheEvictionErrorList|null); + } + + /** Represents an EvictCacheResponse. */ + class EvictCacheResponse implements IEvictCacheResponse { + + /** + * Constructs a new EvictCacheResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IEvictCacheResponse); + + /** EvictCacheResponse errors. */ + public errors?: (flyteidl.core.ICacheEvictionErrorList|null); + + /** + * Creates a new EvictCacheResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns EvictCacheResponse instance + */ + public static create(properties?: flyteidl.service.IEvictCacheResponse): flyteidl.service.EvictCacheResponse; + + /** + * Encodes the specified EvictCacheResponse message. Does not implicitly {@link flyteidl.service.EvictCacheResponse.verify|verify} messages. + * @param message EvictCacheResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IEvictCacheResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EvictCacheResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EvictCacheResponse + * @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.service.EvictCacheResponse; + + /** + * Verifies an EvictCacheResponse 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); + } + + /** Represents a CacheService */ + class CacheService extends $protobuf.rpc.Service { + + /** + * Constructs a new CacheService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new CacheService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CacheService; + + /** + * Calls EvictExecutionCache. + * @param request EvictExecutionCacheRequest message or plain object + * @param callback Node-style callback called with the error, if any, and EvictCacheResponse + */ + public evictExecutionCache(request: flyteidl.service.IEvictExecutionCacheRequest, callback: flyteidl.service.CacheService.EvictExecutionCacheCallback): void; + + /** + * Calls EvictExecutionCache. + * @param request EvictExecutionCacheRequest message or plain object + * @returns Promise + */ + public evictExecutionCache(request: flyteidl.service.IEvictExecutionCacheRequest): Promise; + + /** + * Calls EvictTaskExecutionCache. + * @param request EvictTaskExecutionCacheRequest message or plain object + * @param callback Node-style callback called with the error, if any, and EvictCacheResponse + */ + public evictTaskExecutionCache(request: flyteidl.service.IEvictTaskExecutionCacheRequest, callback: flyteidl.service.CacheService.EvictTaskExecutionCacheCallback): void; + + /** + * Calls EvictTaskExecutionCache. + * @param request EvictTaskExecutionCacheRequest message or plain object + * @returns Promise + */ + public evictTaskExecutionCache(request: flyteidl.service.IEvictTaskExecutionCacheRequest): Promise; + } + + namespace CacheService { + + /** + * Callback as used by {@link flyteidl.service.CacheService#evictExecutionCache}. + * @param error Error, if any + * @param [response] EvictCacheResponse + */ + type EvictExecutionCacheCallback = (error: (Error|null), response?: flyteidl.service.EvictCacheResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.CacheService#evictTaskExecutionCache}. + * @param error Error, if any + * @param [response] EvictCacheResponse + */ + type EvictTaskExecutionCacheCallback = (error: (Error|null), response?: flyteidl.service.EvictCacheResponse) => void; + } + /** Properties of a CreateUploadLocationResponse. */ interface ICreateUploadLocationResponse { diff --git a/gen/pb-js/flyteidl.js b/gen/pb-js/flyteidl.js index 67d96f215..a741457fc 100644 --- a/gen/pb-js/flyteidl.js +++ b/gen/pb-js/flyteidl.js @@ -15243,6 +15243,361 @@ return ErrorDocument; })(); + core.CacheEvictionError = (function() { + + /** + * Properties of a CacheEvictionError. + * @memberof flyteidl.core + * @interface ICacheEvictionError + * @property {flyteidl.core.CacheEvictionError.Code|null} [code] CacheEvictionError code + * @property {string|null} [message] CacheEvictionError message + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] CacheEvictionError nodeExecutionId + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] CacheEvictionError taskExecutionId + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] CacheEvictionError workflowExecutionId + */ + + /** + * Constructs a new CacheEvictionError. + * @memberof flyteidl.core + * @classdesc Represents a CacheEvictionError. + * @implements ICacheEvictionError + * @constructor + * @param {flyteidl.core.ICacheEvictionError=} [properties] Properties to set + */ + function CacheEvictionError(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * CacheEvictionError code. + * @member {flyteidl.core.CacheEvictionError.Code} code + * @memberof flyteidl.core.CacheEvictionError + * @instance + */ + CacheEvictionError.prototype.code = 0; + + /** + * CacheEvictionError message. + * @member {string} message + * @memberof flyteidl.core.CacheEvictionError + * @instance + */ + CacheEvictionError.prototype.message = ""; + + /** + * CacheEvictionError nodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId + * @memberof flyteidl.core.CacheEvictionError + * @instance + */ + CacheEvictionError.prototype.nodeExecutionId = null; + + /** + * CacheEvictionError taskExecutionId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId + * @memberof flyteidl.core.CacheEvictionError + * @instance + */ + CacheEvictionError.prototype.taskExecutionId = null; + + /** + * CacheEvictionError workflowExecutionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId + * @memberof flyteidl.core.CacheEvictionError + * @instance + */ + CacheEvictionError.prototype.workflowExecutionId = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * CacheEvictionError source. + * @member {"taskExecutionId"|"workflowExecutionId"|undefined} source + * @memberof flyteidl.core.CacheEvictionError + * @instance + */ + Object.defineProperty(CacheEvictionError.prototype, "source", { + get: $util.oneOfGetter($oneOfFields = ["taskExecutionId", "workflowExecutionId"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new CacheEvictionError instance using the specified properties. + * @function create + * @memberof flyteidl.core.CacheEvictionError + * @static + * @param {flyteidl.core.ICacheEvictionError=} [properties] Properties to set + * @returns {flyteidl.core.CacheEvictionError} CacheEvictionError instance + */ + CacheEvictionError.create = function create(properties) { + return new CacheEvictionError(properties); + }; + + /** + * Encodes the specified CacheEvictionError message. Does not implicitly {@link flyteidl.core.CacheEvictionError.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.CacheEvictionError + * @static + * @param {flyteidl.core.ICacheEvictionError} message CacheEvictionError message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CacheEvictionError.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.code != null && message.hasOwnProperty("code")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.code); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecutionId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a CacheEvictionError message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.CacheEvictionError + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.CacheEvictionError} CacheEvictionError + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CacheEvictionError.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CacheEvictionError(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.code = reader.int32(); + break; + case 2: + message.message = reader.string(); + break; + case 3: + message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 4: + message.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 5: + message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a CacheEvictionError message. + * @function verify + * @memberof flyteidl.core.CacheEvictionError + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CacheEvictionError.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.code != null && message.hasOwnProperty("code")) + switch (message.code) { + default: + return "code: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); + if (error) + return "nodeExecutionId." + error; + } + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { + properties.source = 1; + { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); + if (error) + return "taskExecutionId." + error; + } + } + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { + if (properties.source === 1) + return "source: multiple values"; + properties.source = 1; + { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); + if (error) + return "workflowExecutionId." + error; + } + } + return null; + }; + + /** + * Code enum. + * @name flyteidl.core.CacheEvictionError.Code + * @enum {string} + * @property {number} INTERNAL=0 INTERNAL value + * @property {number} RESERVATION_NOT_ACQUIRED=1 RESERVATION_NOT_ACQUIRED value + * @property {number} DATABASE_UPDATE_FAILED=2 DATABASE_UPDATE_FAILED value + * @property {number} ARTIFACT_DELETE_FAILED=3 ARTIFACT_DELETE_FAILED value + * @property {number} RESERVATION_NOT_RELEASED=4 RESERVATION_NOT_RELEASED value + */ + CacheEvictionError.Code = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "INTERNAL"] = 0; + values[valuesById[1] = "RESERVATION_NOT_ACQUIRED"] = 1; + values[valuesById[2] = "DATABASE_UPDATE_FAILED"] = 2; + values[valuesById[3] = "ARTIFACT_DELETE_FAILED"] = 3; + values[valuesById[4] = "RESERVATION_NOT_RELEASED"] = 4; + return values; + })(); + + return CacheEvictionError; + })(); + + core.CacheEvictionErrorList = (function() { + + /** + * Properties of a CacheEvictionErrorList. + * @memberof flyteidl.core + * @interface ICacheEvictionErrorList + * @property {Array.|null} [errors] CacheEvictionErrorList errors + */ + + /** + * Constructs a new CacheEvictionErrorList. + * @memberof flyteidl.core + * @classdesc Represents a CacheEvictionErrorList. + * @implements ICacheEvictionErrorList + * @constructor + * @param {flyteidl.core.ICacheEvictionErrorList=} [properties] Properties to set + */ + function CacheEvictionErrorList(properties) { + this.errors = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * CacheEvictionErrorList errors. + * @member {Array.} errors + * @memberof flyteidl.core.CacheEvictionErrorList + * @instance + */ + CacheEvictionErrorList.prototype.errors = $util.emptyArray; + + /** + * Creates a new CacheEvictionErrorList instance using the specified properties. + * @function create + * @memberof flyteidl.core.CacheEvictionErrorList + * @static + * @param {flyteidl.core.ICacheEvictionErrorList=} [properties] Properties to set + * @returns {flyteidl.core.CacheEvictionErrorList} CacheEvictionErrorList instance + */ + CacheEvictionErrorList.create = function create(properties) { + return new CacheEvictionErrorList(properties); + }; + + /** + * Encodes the specified CacheEvictionErrorList message. Does not implicitly {@link flyteidl.core.CacheEvictionErrorList.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.CacheEvictionErrorList + * @static + * @param {flyteidl.core.ICacheEvictionErrorList} message CacheEvictionErrorList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CacheEvictionErrorList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.errors != null && message.errors.length) + for (var i = 0; i < message.errors.length; ++i) + $root.flyteidl.core.CacheEvictionError.encode(message.errors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a CacheEvictionErrorList message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.CacheEvictionErrorList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.CacheEvictionErrorList} CacheEvictionErrorList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CacheEvictionErrorList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CacheEvictionErrorList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.errors && message.errors.length)) + message.errors = []; + message.errors.push($root.flyteidl.core.CacheEvictionError.decode(reader, reader.uint32())); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a CacheEvictionErrorList message. + * @function verify + * @memberof flyteidl.core.CacheEvictionErrorList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CacheEvictionErrorList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.errors != null && message.hasOwnProperty("errors")) { + if (!Array.isArray(message.errors)) + return "errors: array expected"; + for (var i = 0; i < message.errors.length; ++i) { + var error = $root.flyteidl.core.CacheEvictionError.verify(message.errors[i]); + if (error) + return "errors." + error; + } + } + return null; + }; + + return CacheEvictionErrorList; + })(); + core.WorkflowClosure = (function() { /** @@ -43382,6 +43737,443 @@ return AuthMetadataService; })(); + service.EvictExecutionCacheRequest = (function() { + + /** + * Properties of an EvictExecutionCacheRequest. + * @memberof flyteidl.service + * @interface IEvictExecutionCacheRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] EvictExecutionCacheRequest workflowExecutionId + */ + + /** + * Constructs a new EvictExecutionCacheRequest. + * @memberof flyteidl.service + * @classdesc Represents an EvictExecutionCacheRequest. + * @implements IEvictExecutionCacheRequest + * @constructor + * @param {flyteidl.service.IEvictExecutionCacheRequest=} [properties] Properties to set + */ + function EvictExecutionCacheRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * EvictExecutionCacheRequest workflowExecutionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId + * @memberof flyteidl.service.EvictExecutionCacheRequest + * @instance + */ + EvictExecutionCacheRequest.prototype.workflowExecutionId = null; + + /** + * Creates a new EvictExecutionCacheRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.EvictExecutionCacheRequest + * @static + * @param {flyteidl.service.IEvictExecutionCacheRequest=} [properties] Properties to set + * @returns {flyteidl.service.EvictExecutionCacheRequest} EvictExecutionCacheRequest instance + */ + EvictExecutionCacheRequest.create = function create(properties) { + return new EvictExecutionCacheRequest(properties); + }; + + /** + * Encodes the specified EvictExecutionCacheRequest message. Does not implicitly {@link flyteidl.service.EvictExecutionCacheRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.EvictExecutionCacheRequest + * @static + * @param {flyteidl.service.IEvictExecutionCacheRequest} message EvictExecutionCacheRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EvictExecutionCacheRequest.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(); + return writer; + }; + + /** + * Decodes an EvictExecutionCacheRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.EvictExecutionCacheRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.EvictExecutionCacheRequest} EvictExecutionCacheRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EvictExecutionCacheRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.EvictExecutionCacheRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an EvictExecutionCacheRequest message. + * @function verify + * @memberof flyteidl.service.EvictExecutionCacheRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EvictExecutionCacheRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); + if (error) + return "workflowExecutionId." + error; + } + return null; + }; + + return EvictExecutionCacheRequest; + })(); + + service.EvictTaskExecutionCacheRequest = (function() { + + /** + * Properties of an EvictTaskExecutionCacheRequest. + * @memberof flyteidl.service + * @interface IEvictTaskExecutionCacheRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] EvictTaskExecutionCacheRequest taskExecutionId + */ + + /** + * Constructs a new EvictTaskExecutionCacheRequest. + * @memberof flyteidl.service + * @classdesc Represents an EvictTaskExecutionCacheRequest. + * @implements IEvictTaskExecutionCacheRequest + * @constructor + * @param {flyteidl.service.IEvictTaskExecutionCacheRequest=} [properties] Properties to set + */ + function EvictTaskExecutionCacheRequest(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * EvictTaskExecutionCacheRequest taskExecutionId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId + * @memberof flyteidl.service.EvictTaskExecutionCacheRequest + * @instance + */ + EvictTaskExecutionCacheRequest.prototype.taskExecutionId = null; + + /** + * Creates a new EvictTaskExecutionCacheRequest instance using the specified properties. + * @function create + * @memberof flyteidl.service.EvictTaskExecutionCacheRequest + * @static + * @param {flyteidl.service.IEvictTaskExecutionCacheRequest=} [properties] Properties to set + * @returns {flyteidl.service.EvictTaskExecutionCacheRequest} EvictTaskExecutionCacheRequest instance + */ + EvictTaskExecutionCacheRequest.create = function create(properties) { + return new EvictTaskExecutionCacheRequest(properties); + }; + + /** + * Encodes the specified EvictTaskExecutionCacheRequest message. Does not implicitly {@link flyteidl.service.EvictTaskExecutionCacheRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.EvictTaskExecutionCacheRequest + * @static + * @param {flyteidl.service.IEvictTaskExecutionCacheRequest} message EvictTaskExecutionCacheRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EvictTaskExecutionCacheRequest.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(); + return writer; + }; + + /** + * Decodes an EvictTaskExecutionCacheRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.EvictTaskExecutionCacheRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.EvictTaskExecutionCacheRequest} EvictTaskExecutionCacheRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EvictTaskExecutionCacheRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.EvictTaskExecutionCacheRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an EvictTaskExecutionCacheRequest message. + * @function verify + * @memberof flyteidl.service.EvictTaskExecutionCacheRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EvictTaskExecutionCacheRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); + if (error) + return "taskExecutionId." + error; + } + return null; + }; + + return EvictTaskExecutionCacheRequest; + })(); + + service.EvictCacheResponse = (function() { + + /** + * Properties of an EvictCacheResponse. + * @memberof flyteidl.service + * @interface IEvictCacheResponse + * @property {flyteidl.core.ICacheEvictionErrorList|null} [errors] EvictCacheResponse errors + */ + + /** + * Constructs a new EvictCacheResponse. + * @memberof flyteidl.service + * @classdesc Represents an EvictCacheResponse. + * @implements IEvictCacheResponse + * @constructor + * @param {flyteidl.service.IEvictCacheResponse=} [properties] Properties to set + */ + function EvictCacheResponse(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * EvictCacheResponse errors. + * @member {flyteidl.core.ICacheEvictionErrorList|null|undefined} errors + * @memberof flyteidl.service.EvictCacheResponse + * @instance + */ + EvictCacheResponse.prototype.errors = null; + + /** + * Creates a new EvictCacheResponse instance using the specified properties. + * @function create + * @memberof flyteidl.service.EvictCacheResponse + * @static + * @param {flyteidl.service.IEvictCacheResponse=} [properties] Properties to set + * @returns {flyteidl.service.EvictCacheResponse} EvictCacheResponse instance + */ + EvictCacheResponse.create = function create(properties) { + return new EvictCacheResponse(properties); + }; + + /** + * Encodes the specified EvictCacheResponse message. Does not implicitly {@link flyteidl.service.EvictCacheResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.service.EvictCacheResponse + * @static + * @param {flyteidl.service.IEvictCacheResponse} message EvictCacheResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EvictCacheResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.errors != null && message.hasOwnProperty("errors")) + $root.flyteidl.core.CacheEvictionErrorList.encode(message.errors, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes an EvictCacheResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.service.EvictCacheResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.service.EvictCacheResponse} EvictCacheResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EvictCacheResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.EvictCacheResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.errors = $root.flyteidl.core.CacheEvictionErrorList.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an EvictCacheResponse message. + * @function verify + * @memberof flyteidl.service.EvictCacheResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EvictCacheResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.errors != null && message.hasOwnProperty("errors")) { + var error = $root.flyteidl.core.CacheEvictionErrorList.verify(message.errors); + if (error) + return "errors." + error; + } + return null; + }; + + return EvictCacheResponse; + })(); + + service.CacheService = (function() { + + /** + * Constructs a new CacheService service. + * @memberof flyteidl.service + * @classdesc Represents a CacheService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function CacheService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (CacheService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = CacheService; + + /** + * Creates new CacheService service using the specified rpc implementation. + * @function create + * @memberof flyteidl.service.CacheService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {CacheService} RPC service. Useful where requests and/or responses are streamed. + */ + CacheService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link flyteidl.service.CacheService#evictExecutionCache}. + * @memberof flyteidl.service.CacheService + * @typedef EvictExecutionCacheCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.EvictCacheResponse} [response] EvictCacheResponse + */ + + /** + * Calls EvictExecutionCache. + * @function evictExecutionCache + * @memberof flyteidl.service.CacheService + * @instance + * @param {flyteidl.service.IEvictExecutionCacheRequest} request EvictExecutionCacheRequest message or plain object + * @param {flyteidl.service.CacheService.EvictExecutionCacheCallback} callback Node-style callback called with the error, if any, and EvictCacheResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(CacheService.prototype.evictExecutionCache = function evictExecutionCache(request, callback) { + return this.rpcCall(evictExecutionCache, $root.flyteidl.service.EvictExecutionCacheRequest, $root.flyteidl.service.EvictCacheResponse, request, callback); + }, "name", { value: "EvictExecutionCache" }); + + /** + * Calls EvictExecutionCache. + * @function evictExecutionCache + * @memberof flyteidl.service.CacheService + * @instance + * @param {flyteidl.service.IEvictExecutionCacheRequest} request EvictExecutionCacheRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link flyteidl.service.CacheService#evictTaskExecutionCache}. + * @memberof flyteidl.service.CacheService + * @typedef EvictTaskExecutionCacheCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.service.EvictCacheResponse} [response] EvictCacheResponse + */ + + /** + * Calls EvictTaskExecutionCache. + * @function evictTaskExecutionCache + * @memberof flyteidl.service.CacheService + * @instance + * @param {flyteidl.service.IEvictTaskExecutionCacheRequest} request EvictTaskExecutionCacheRequest message or plain object + * @param {flyteidl.service.CacheService.EvictTaskExecutionCacheCallback} callback Node-style callback called with the error, if any, and EvictCacheResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(CacheService.prototype.evictTaskExecutionCache = function evictTaskExecutionCache(request, callback) { + return this.rpcCall(evictTaskExecutionCache, $root.flyteidl.service.EvictTaskExecutionCacheRequest, $root.flyteidl.service.EvictCacheResponse, request, callback); + }, "name", { value: "EvictTaskExecutionCache" }); + + /** + * Calls EvictTaskExecutionCache. + * @function evictTaskExecutionCache + * @memberof flyteidl.service.CacheService + * @instance + * @param {flyteidl.service.IEvictTaskExecutionCacheRequest} request EvictTaskExecutionCacheRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return CacheService; + })(); + service.CreateUploadLocationResponse = (function() { /** diff --git a/gen/pb_python/flyteidl/core/errors_pb2.py b/gen/pb_python/flyteidl/core/errors_pb2.py index 6453c7753..9e4086e0f 100644 --- a/gen/pb_python/flyteidl/core/errors_pb2.py +++ b/gen/pb_python/flyteidl/core/errors_pb2.py @@ -12,9 +12,10 @@ from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2 +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66lyteidl/core/errors.proto\x12\rflyteidl.core\x1a\x1d\x66lyteidl/core/execution.proto\"\xe5\x01\n\x0e\x43ontainerError\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32\".flyteidl.core.ContainerError.KindR\x04kind\x12?\n\x06origin\x18\x04 \x01(\x0e\x32\'.flyteidl.core.ExecutionError.ErrorKindR\x06origin\",\n\x04Kind\x12\x13\n\x0fNON_RECOVERABLE\x10\x00\x12\x0f\n\x0bRECOVERABLE\x10\x01\"D\n\rErrorDocument\x12\x33\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x1d.flyteidl.core.ContainerErrorR\x05\x65rrorB\xab\x01\n\x11\x63om.flyteidl.coreB\x0b\x45rrorsProtoP\x01Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66lyteidl/core/errors.proto\x12\rflyteidl.core\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\"\xe5\x01\n\x0e\x43ontainerError\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32\".flyteidl.core.ContainerError.KindR\x04kind\x12?\n\x06origin\x18\x04 \x01(\x0e\x32\'.flyteidl.core.ExecutionError.ErrorKindR\x06origin\",\n\x04Kind\x12\x13\n\x0fNON_RECOVERABLE\x10\x00\x12\x0f\n\x0bRECOVERABLE\x10\x01\"D\n\rErrorDocument\x12\x33\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x1d.flyteidl.core.ContainerErrorR\x05\x65rror\"\x8b\x04\n\x12\x43\x61\x63heEvictionError\x12:\n\x04\x63ode\x18\x01 \x01(\x0e\x32&.flyteidl.core.CacheEvictionError.CodeR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12R\n\x11node_execution_id\x18\x03 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierR\x0fnodeExecutionId\x12T\n\x11task_execution_id\x18\x04 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierH\x00R\x0ftaskExecutionId\x12`\n\x15workflow_execution_id\x18\x05 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierH\x00R\x13workflowExecutionId\"\x88\x01\n\x04\x43ode\x12\x0c\n\x08INTERNAL\x10\x00\x12\x1c\n\x18RESERVATION_NOT_ACQUIRED\x10\x01\x12\x1a\n\x16\x44\x41TABASE_UPDATE_FAILED\x10\x02\x12\x1a\n\x16\x41RTIFACT_DELETE_FAILED\x10\x03\x12\x1c\n\x18RESERVATION_NOT_RELEASED\x10\x04\x42\x08\n\x06source\"S\n\x16\x43\x61\x63heEvictionErrorList\x12\x39\n\x06\x65rrors\x18\x01 \x03(\x0b\x32!.flyteidl.core.CacheEvictionErrorR\x06\x65rrorsB\xab\x01\n\x11\x63om.flyteidl.coreB\x0b\x45rrorsProtoP\x01Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.core.errors_pb2', globals()) @@ -22,10 +23,16 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\021com.flyteidl.coreB\013ErrorsProtoP\001Z4github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core\242\002\003FCX\252\002\rFlyteidl.Core\312\002\rFlyteidl\\Core\342\002\031Flyteidl\\Core\\GPBMetadata\352\002\016Flyteidl::Core' - _CONTAINERERROR._serialized_start=77 - _CONTAINERERROR._serialized_end=306 - _CONTAINERERROR_KIND._serialized_start=262 - _CONTAINERERROR_KIND._serialized_end=306 - _ERRORDOCUMENT._serialized_start=308 - _ERRORDOCUMENT._serialized_end=376 + _CONTAINERERROR._serialized_start=109 + _CONTAINERERROR._serialized_end=338 + _CONTAINERERROR_KIND._serialized_start=294 + _CONTAINERERROR_KIND._serialized_end=338 + _ERRORDOCUMENT._serialized_start=340 + _ERRORDOCUMENT._serialized_end=408 + _CACHEEVICTIONERROR._serialized_start=411 + _CACHEEVICTIONERROR._serialized_end=934 + _CACHEEVICTIONERROR_CODE._serialized_start=788 + _CACHEEVICTIONERROR_CODE._serialized_end=924 + _CACHEEVICTIONERRORLIST._serialized_start=936 + _CACHEEVICTIONERRORLIST._serialized_end=1019 # @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/core/errors_pb2.pyi b/gen/pb_python/flyteidl/core/errors_pb2.pyi index 0c0c20e60..8e0eb9763 100644 --- a/gen/pb_python/flyteidl/core/errors_pb2.pyi +++ b/gen/pb_python/flyteidl/core/errors_pb2.pyi @@ -1,11 +1,40 @@ from flyteidl.core import execution_pb2 as _execution_pb2 +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from google.protobuf.internal import containers as _containers from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message -from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union DESCRIPTOR: _descriptor.FileDescriptor +class CacheEvictionError(_message.Message): + __slots__ = ["code", "message", "node_execution_id", "task_execution_id", "workflow_execution_id"] + class Code(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + ARTIFACT_DELETE_FAILED: CacheEvictionError.Code + CODE_FIELD_NUMBER: _ClassVar[int] + DATABASE_UPDATE_FAILED: CacheEvictionError.Code + INTERNAL: CacheEvictionError.Code + MESSAGE_FIELD_NUMBER: _ClassVar[int] + NODE_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + RESERVATION_NOT_ACQUIRED: CacheEvictionError.Code + RESERVATION_NOT_RELEASED: CacheEvictionError.Code + TASK_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + code: CacheEvictionError.Code + message: str + node_execution_id: _identifier_pb2.NodeExecutionIdentifier + task_execution_id: _identifier_pb2.TaskExecutionIdentifier + workflow_execution_id: _identifier_pb2.WorkflowExecutionIdentifier + def __init__(self, code: _Optional[_Union[CacheEvictionError.Code, str]] = ..., message: _Optional[str] = ..., node_execution_id: _Optional[_Union[_identifier_pb2.NodeExecutionIdentifier, _Mapping]] = ..., task_execution_id: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ..., workflow_execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ...) -> None: ... + +class CacheEvictionErrorList(_message.Message): + __slots__ = ["errors"] + ERRORS_FIELD_NUMBER: _ClassVar[int] + errors: _containers.RepeatedCompositeFieldContainer[CacheEvictionError] + def __init__(self, errors: _Optional[_Iterable[_Union[CacheEvictionError, _Mapping]]] = ...) -> None: ... + class ContainerError(_message.Message): __slots__ = ["code", "kind", "message", "origin"] class Kind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): diff --git a/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.py b/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.py index 125d65920..5fbb8390a 100644 --- a/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.py +++ b/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.py @@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&flyteidl/datacatalog/datacatalog.proto\x12\x0b\x64\x61tacatalog\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"F\n\x14\x43reateDatasetRequest\x12.\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x14.datacatalog.DatasetR\x07\x64\x61taset\"\x17\n\x15\x43reateDatasetResponse\"E\n\x11GetDatasetRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\"D\n\x12GetDatasetResponse\x12.\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x14.datacatalog.DatasetR\x07\x64\x61taset\"\x96\x01\n\x12GetArtifactRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12!\n\x0b\x61rtifact_id\x18\x02 \x01(\tH\x00R\nartifactId\x12\x1b\n\x08tag_name\x18\x03 \x01(\tH\x00R\x07tagNameB\x0e\n\x0cquery_handle\"H\n\x13GetArtifactResponse\x12\x31\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x15.datacatalog.ArtifactR\x08\x61rtifact\"J\n\x15\x43reateArtifactRequest\x12\x31\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x15.datacatalog.ArtifactR\x08\x61rtifact\"\x18\n\x16\x43reateArtifactResponse\"3\n\rAddTagRequest\x12\"\n\x03tag\x18\x01 \x01(\x0b\x32\x10.datacatalog.TagR\x03tag\"\x10\n\x0e\x41\x64\x64TagResponse\"\xbf\x01\n\x14ListArtifactsRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12\x35\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x1d.datacatalog.FilterExpressionR\x06\x66ilter\x12>\n\npagination\x18\x03 \x01(\x0b\x32\x1e.datacatalog.PaginationOptionsR\npagination\"k\n\x15ListArtifactsResponse\x12\x33\n\tartifacts\x18\x01 \x03(\x0b\x32\x15.datacatalog.ArtifactR\tartifacts\x12\x1d\n\nnext_token\x18\x02 \x01(\tR\tnextToken\"\x8c\x01\n\x13ListDatasetsRequest\x12\x35\n\x06\x66ilter\x18\x01 \x01(\x0b\x32\x1d.datacatalog.FilterExpressionR\x06\x66ilter\x12>\n\npagination\x18\x02 \x01(\x0b\x32\x1e.datacatalog.PaginationOptionsR\npagination\"g\n\x14ListDatasetsResponse\x12\x30\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32\x14.datacatalog.DatasetR\x08\x64\x61tasets\x12\x1d\n\nnext_token\x18\x02 \x01(\tR\tnextToken\"\xc8\x01\n\x15UpdateArtifactRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12!\n\x0b\x61rtifact_id\x18\x02 \x01(\tH\x00R\nartifactId\x12\x1b\n\x08tag_name\x18\x03 \x01(\tH\x00R\x07tagName\x12-\n\x04\x64\x61ta\x18\x04 \x03(\x0b\x32\x19.datacatalog.ArtifactDataR\x04\x64\x61taB\x0e\n\x0cquery_handle\"9\n\x16UpdateArtifactResponse\x12\x1f\n\x0b\x61rtifact_id\x18\x01 \x01(\tR\nartifactId\"a\n\rReservationID\x12\x35\n\ndataset_id\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\tdatasetId\x12\x19\n\x08tag_name\x18\x02 \x01(\tR\x07tagName\"\xc7\x01\n\x1dGetOrExtendReservationRequest\x12\x41\n\x0ereservation_id\x18\x01 \x01(\x0b\x32\x1a.datacatalog.ReservationIDR\rreservationId\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12H\n\x12heartbeat_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11heartbeatInterval\"\xa3\x02\n\x0bReservation\x12\x41\n\x0ereservation_id\x18\x01 \x01(\x0b\x32\x1a.datacatalog.ReservationIDR\rreservationId\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12H\n\x12heartbeat_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11heartbeatInterval\x12\x39\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x31\n\x08metadata\x18\x06 \x01(\x0b\x32\x15.datacatalog.MetadataR\x08metadata\"\\\n\x1eGetOrExtendReservationResponse\x12:\n\x0breservation\x18\x01 \x01(\x0b\x32\x18.datacatalog.ReservationR\x0breservation\"y\n\x19ReleaseReservationRequest\x12\x41\n\x0ereservation_id\x18\x01 \x01(\x0b\x32\x1a.datacatalog.ReservationIDR\rreservationId\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\"\x1c\n\x1aReleaseReservationResponse\"\x8a\x01\n\x07\x44\x61taset\x12&\n\x02id\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x02id\x12\x31\n\x08metadata\x18\x02 \x01(\x0b\x32\x15.datacatalog.MetadataR\x08metadata\x12$\n\rpartitionKeys\x18\x03 \x03(\tR\rpartitionKeys\"3\n\tPartition\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"\x7f\n\tDatasetID\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06\x64omain\x18\x03 \x01(\tR\x06\x64omain\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12\x12\n\x04UUID\x18\x05 \x01(\tR\x04UUID\"\xc7\x02\n\x08\x41rtifact\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x30\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12-\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x19.datacatalog.ArtifactDataR\x04\x64\x61ta\x12\x31\n\x08metadata\x18\x04 \x01(\x0b\x32\x15.datacatalog.MetadataR\x08metadata\x12\x36\n\npartitions\x18\x05 \x03(\x0b\x32\x16.datacatalog.PartitionR\npartitions\x12$\n\x04tags\x18\x06 \x03(\x0b\x32\x10.datacatalog.TagR\x04tags\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"P\n\x0c\x41rtifactData\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\"l\n\x03Tag\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n\x0b\x61rtifact_id\x18\x02 \x01(\tR\nartifactId\x12\x30\n\x07\x64\x61taset\x18\x03 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\"\x81\x01\n\x08Metadata\x12:\n\x07key_map\x18\x01 \x03(\x0b\x32!.datacatalog.Metadata.KeyMapEntryR\x06keyMap\x1a\x39\n\x0bKeyMapEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"O\n\x10\x46ilterExpression\x12;\n\x07\x66ilters\x18\x01 \x03(\x0b\x32!.datacatalog.SinglePropertyFilterR\x07\x66ilters\"\xce\x03\n\x14SinglePropertyFilter\x12?\n\ntag_filter\x18\x01 \x01(\x0b\x32\x1e.datacatalog.TagPropertyFilterH\x00R\ttagFilter\x12Q\n\x10partition_filter\x18\x02 \x01(\x0b\x32$.datacatalog.PartitionPropertyFilterH\x00R\x0fpartitionFilter\x12N\n\x0f\x61rtifact_filter\x18\x03 \x01(\x0b\x32#.datacatalog.ArtifactPropertyFilterH\x00R\x0e\x61rtifactFilter\x12K\n\x0e\x64\x61taset_filter\x18\x04 \x01(\x0b\x32\".datacatalog.DatasetPropertyFilterH\x00R\rdatasetFilter\x12P\n\x08operator\x18\n \x01(\x0e\x32\x34.datacatalog.SinglePropertyFilter.ComparisonOperatorR\x08operator\" \n\x12\x43omparisonOperator\x12\n\n\x06\x45QUALS\x10\x00\x42\x11\n\x0fproperty_filter\"G\n\x16\x41rtifactPropertyFilter\x12!\n\x0b\x61rtifact_id\x18\x01 \x01(\tH\x00R\nartifactIdB\n\n\x08property\"<\n\x11TagPropertyFilter\x12\x1b\n\x08tag_name\x18\x01 \x01(\tH\x00R\x07tagNameB\n\n\x08property\"[\n\x17PartitionPropertyFilter\x12\x34\n\x07key_val\x18\x01 \x01(\x0b\x32\x19.datacatalog.KeyValuePairH\x00R\x06keyValB\n\n\x08property\"6\n\x0cKeyValuePair\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"\x8b\x01\n\x15\x44\x61tasetPropertyFilter\x12\x1a\n\x07project\x18\x01 \x01(\tH\x00R\x07project\x12\x14\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x12\x18\n\x06\x64omain\x18\x03 \x01(\tH\x00R\x06\x64omain\x12\x1a\n\x07version\x18\x04 \x01(\tH\x00R\x07versionB\n\n\x08property\"\x93\x02\n\x11PaginationOptions\x12\x14\n\x05limit\x18\x01 \x01(\rR\x05limit\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\x12@\n\x07sortKey\x18\x03 \x01(\x0e\x32&.datacatalog.PaginationOptions.SortKeyR\x07sortKey\x12\x46\n\tsortOrder\x18\x04 \x01(\x0e\x32(.datacatalog.PaginationOptions.SortOrderR\tsortOrder\"*\n\tSortOrder\x12\x0e\n\nDESCENDING\x10\x00\x12\r\n\tASCENDING\x10\x01\"\x1c\n\x07SortKey\x12\x11\n\rCREATION_TIME\x10\x00\x32\x86\x07\n\x0b\x44\x61taCatalog\x12V\n\rCreateDataset\x12!.datacatalog.CreateDatasetRequest\x1a\".datacatalog.CreateDatasetResponse\x12M\n\nGetDataset\x12\x1e.datacatalog.GetDatasetRequest\x1a\x1f.datacatalog.GetDatasetResponse\x12Y\n\x0e\x43reateArtifact\x12\".datacatalog.CreateArtifactRequest\x1a#.datacatalog.CreateArtifactResponse\x12P\n\x0bGetArtifact\x12\x1f.datacatalog.GetArtifactRequest\x1a .datacatalog.GetArtifactResponse\x12\x41\n\x06\x41\x64\x64Tag\x12\x1a.datacatalog.AddTagRequest\x1a\x1b.datacatalog.AddTagResponse\x12V\n\rListArtifacts\x12!.datacatalog.ListArtifactsRequest\x1a\".datacatalog.ListArtifactsResponse\x12S\n\x0cListDatasets\x12 .datacatalog.ListDatasetsRequest\x1a!.datacatalog.ListDatasetsResponse\x12Y\n\x0eUpdateArtifact\x12\".datacatalog.UpdateArtifactRequest\x1a#.datacatalog.UpdateArtifactResponse\x12q\n\x16GetOrExtendReservation\x12*.datacatalog.GetOrExtendReservationRequest\x1a+.datacatalog.GetOrExtendReservationResponse\x12\x65\n\x12ReleaseReservation\x12&.datacatalog.ReleaseReservationRequest\x1a\'.datacatalog.ReleaseReservationResponseB\xac\x01\n\x0f\x63om.datacatalogB\x10\x44\x61tacatalogProtoP\x01Z;github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/datacatalog\xa2\x02\x03\x44XX\xaa\x02\x0b\x44\x61tacatalog\xca\x02\x0b\x44\x61tacatalog\xe2\x02\x17\x44\x61tacatalog\\GPBMetadata\xea\x02\x0b\x44\x61tacatalogb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&flyteidl/datacatalog/datacatalog.proto\x12\x0b\x64\x61tacatalog\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"F\n\x14\x43reateDatasetRequest\x12.\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x14.datacatalog.DatasetR\x07\x64\x61taset\"\x17\n\x15\x43reateDatasetResponse\"E\n\x11GetDatasetRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\"D\n\x12GetDatasetResponse\x12.\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x14.datacatalog.DatasetR\x07\x64\x61taset\"\x96\x01\n\x12GetArtifactRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12!\n\x0b\x61rtifact_id\x18\x02 \x01(\tH\x00R\nartifactId\x12\x1b\n\x08tag_name\x18\x03 \x01(\tH\x00R\x07tagNameB\x0e\n\x0cquery_handle\"H\n\x13GetArtifactResponse\x12\x31\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x15.datacatalog.ArtifactR\x08\x61rtifact\"J\n\x15\x43reateArtifactRequest\x12\x31\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x15.datacatalog.ArtifactR\x08\x61rtifact\"\x18\n\x16\x43reateArtifactResponse\"3\n\rAddTagRequest\x12\"\n\x03tag\x18\x01 \x01(\x0b\x32\x10.datacatalog.TagR\x03tag\"\x10\n\x0e\x41\x64\x64TagResponse\"\xbf\x01\n\x14ListArtifactsRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12\x35\n\x06\x66ilter\x18\x02 \x01(\x0b\x32\x1d.datacatalog.FilterExpressionR\x06\x66ilter\x12>\n\npagination\x18\x03 \x01(\x0b\x32\x1e.datacatalog.PaginationOptionsR\npagination\"k\n\x15ListArtifactsResponse\x12\x33\n\tartifacts\x18\x01 \x03(\x0b\x32\x15.datacatalog.ArtifactR\tartifacts\x12\x1d\n\nnext_token\x18\x02 \x01(\tR\tnextToken\"\x8c\x01\n\x13ListDatasetsRequest\x12\x35\n\x06\x66ilter\x18\x01 \x01(\x0b\x32\x1d.datacatalog.FilterExpressionR\x06\x66ilter\x12>\n\npagination\x18\x02 \x01(\x0b\x32\x1e.datacatalog.PaginationOptionsR\npagination\"g\n\x14ListDatasetsResponse\x12\x30\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32\x14.datacatalog.DatasetR\x08\x64\x61tasets\x12\x1d\n\nnext_token\x18\x02 \x01(\tR\tnextToken\"\xc8\x01\n\x15UpdateArtifactRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12!\n\x0b\x61rtifact_id\x18\x02 \x01(\tH\x00R\nartifactId\x12\x1b\n\x08tag_name\x18\x03 \x01(\tH\x00R\x07tagName\x12-\n\x04\x64\x61ta\x18\x04 \x03(\x0b\x32\x19.datacatalog.ArtifactDataR\x04\x64\x61taB\x0e\n\x0cquery_handle\"9\n\x16UpdateArtifactResponse\x12\x1f\n\x0b\x61rtifact_id\x18\x01 \x01(\tR\nartifactId\"\x99\x01\n\x15\x44\x65leteArtifactRequest\x12\x30\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12!\n\x0b\x61rtifact_id\x18\x02 \x01(\tH\x00R\nartifactId\x12\x1b\n\x08tag_name\x18\x03 \x01(\tH\x00R\x07tagNameB\x0e\n\x0cquery_handle\"Z\n\x16\x44\x65leteArtifactsRequest\x12@\n\tartifacts\x18\x01 \x03(\x0b\x32\".datacatalog.DeleteArtifactRequestR\tartifacts\"\x18\n\x16\x44\x65leteArtifactResponse\"a\n\rReservationID\x12\x35\n\ndataset_id\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\tdatasetId\x12\x19\n\x08tag_name\x18\x02 \x01(\tR\x07tagName\"\xc7\x01\n\x1dGetOrExtendReservationRequest\x12\x41\n\x0ereservation_id\x18\x01 \x01(\x0b\x32\x1a.datacatalog.ReservationIDR\rreservationId\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12H\n\x12heartbeat_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11heartbeatInterval\"p\n\x1eGetOrExtendReservationsRequest\x12N\n\x0creservations\x18\x01 \x03(\x0b\x32*.datacatalog.GetOrExtendReservationRequestR\x0creservations\"\xa3\x02\n\x0bReservation\x12\x41\n\x0ereservation_id\x18\x01 \x01(\x0b\x32\x1a.datacatalog.ReservationIDR\rreservationId\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12H\n\x12heartbeat_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11heartbeatInterval\x12\x39\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x31\n\x08metadata\x18\x06 \x01(\x0b\x32\x15.datacatalog.MetadataR\x08metadata\"\\\n\x1eGetOrExtendReservationResponse\x12:\n\x0breservation\x18\x01 \x01(\x0b\x32\x18.datacatalog.ReservationR\x0breservation\"_\n\x1fGetOrExtendReservationsResponse\x12<\n\x0creservations\x18\x01 \x03(\x0b\x32\x18.datacatalog.ReservationR\x0creservations\"y\n\x19ReleaseReservationRequest\x12\x41\n\x0ereservation_id\x18\x01 \x01(\x0b\x32\x1a.datacatalog.ReservationIDR\rreservationId\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\"h\n\x1aReleaseReservationsRequest\x12J\n\x0creservations\x18\x01 \x03(\x0b\x32&.datacatalog.ReleaseReservationRequestR\x0creservations\"\x1c\n\x1aReleaseReservationResponse\"\x8a\x01\n\x07\x44\x61taset\x12&\n\x02id\x18\x01 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x02id\x12\x31\n\x08metadata\x18\x02 \x01(\x0b\x32\x15.datacatalog.MetadataR\x08metadata\x12$\n\rpartitionKeys\x18\x03 \x03(\tR\rpartitionKeys\"3\n\tPartition\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"\x7f\n\tDatasetID\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n\x06\x64omain\x18\x03 \x01(\tR\x06\x64omain\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12\x12\n\x04UUID\x18\x05 \x01(\tR\x04UUID\"\xc7\x02\n\x08\x41rtifact\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x30\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\x12-\n\x04\x64\x61ta\x18\x03 \x03(\x0b\x32\x19.datacatalog.ArtifactDataR\x04\x64\x61ta\x12\x31\n\x08metadata\x18\x04 \x01(\x0b\x32\x15.datacatalog.MetadataR\x08metadata\x12\x36\n\npartitions\x18\x05 \x03(\x0b\x32\x16.datacatalog.PartitionR\npartitions\x12$\n\x04tags\x18\x06 \x03(\x0b\x32\x10.datacatalog.TagR\x04tags\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"P\n\x0c\x41rtifactData\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\"l\n\x03Tag\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n\x0b\x61rtifact_id\x18\x02 \x01(\tR\nartifactId\x12\x30\n\x07\x64\x61taset\x18\x03 \x01(\x0b\x32\x16.datacatalog.DatasetIDR\x07\x64\x61taset\"\x81\x01\n\x08Metadata\x12:\n\x07key_map\x18\x01 \x03(\x0b\x32!.datacatalog.Metadata.KeyMapEntryR\x06keyMap\x1a\x39\n\x0bKeyMapEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"O\n\x10\x46ilterExpression\x12;\n\x07\x66ilters\x18\x01 \x03(\x0b\x32!.datacatalog.SinglePropertyFilterR\x07\x66ilters\"\xce\x03\n\x14SinglePropertyFilter\x12?\n\ntag_filter\x18\x01 \x01(\x0b\x32\x1e.datacatalog.TagPropertyFilterH\x00R\ttagFilter\x12Q\n\x10partition_filter\x18\x02 \x01(\x0b\x32$.datacatalog.PartitionPropertyFilterH\x00R\x0fpartitionFilter\x12N\n\x0f\x61rtifact_filter\x18\x03 \x01(\x0b\x32#.datacatalog.ArtifactPropertyFilterH\x00R\x0e\x61rtifactFilter\x12K\n\x0e\x64\x61taset_filter\x18\x04 \x01(\x0b\x32\".datacatalog.DatasetPropertyFilterH\x00R\rdatasetFilter\x12P\n\x08operator\x18\n \x01(\x0e\x32\x34.datacatalog.SinglePropertyFilter.ComparisonOperatorR\x08operator\" \n\x12\x43omparisonOperator\x12\n\n\x06\x45QUALS\x10\x00\x42\x11\n\x0fproperty_filter\"G\n\x16\x41rtifactPropertyFilter\x12!\n\x0b\x61rtifact_id\x18\x01 \x01(\tH\x00R\nartifactIdB\n\n\x08property\"<\n\x11TagPropertyFilter\x12\x1b\n\x08tag_name\x18\x01 \x01(\tH\x00R\x07tagNameB\n\n\x08property\"[\n\x17PartitionPropertyFilter\x12\x34\n\x07key_val\x18\x01 \x01(\x0b\x32\x19.datacatalog.KeyValuePairH\x00R\x06keyValB\n\n\x08property\"6\n\x0cKeyValuePair\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\"\x8b\x01\n\x15\x44\x61tasetPropertyFilter\x12\x1a\n\x07project\x18\x01 \x01(\tH\x00R\x07project\x12\x14\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x12\x18\n\x06\x64omain\x18\x03 \x01(\tH\x00R\x06\x64omain\x12\x1a\n\x07version\x18\x04 \x01(\tH\x00R\x07versionB\n\n\x08property\"\x93\x02\n\x11PaginationOptions\x12\x14\n\x05limit\x18\x01 \x01(\rR\x05limit\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\x12@\n\x07sortKey\x18\x03 \x01(\x0e\x32&.datacatalog.PaginationOptions.SortKeyR\x07sortKey\x12\x46\n\tsortOrder\x18\x04 \x01(\x0e\x32(.datacatalog.PaginationOptions.SortOrderR\tsortOrder\"*\n\tSortOrder\x12\x0e\n\nDESCENDING\x10\x00\x12\r\n\tASCENDING\x10\x01\"\x1c\n\x07SortKey\x12\x11\n\rCREATION_TIME\x10\x00\x32\x9d\n\n\x0b\x44\x61taCatalog\x12V\n\rCreateDataset\x12!.datacatalog.CreateDatasetRequest\x1a\".datacatalog.CreateDatasetResponse\x12M\n\nGetDataset\x12\x1e.datacatalog.GetDatasetRequest\x1a\x1f.datacatalog.GetDatasetResponse\x12Y\n\x0e\x43reateArtifact\x12\".datacatalog.CreateArtifactRequest\x1a#.datacatalog.CreateArtifactResponse\x12P\n\x0bGetArtifact\x12\x1f.datacatalog.GetArtifactRequest\x1a .datacatalog.GetArtifactResponse\x12\x41\n\x06\x41\x64\x64Tag\x12\x1a.datacatalog.AddTagRequest\x1a\x1b.datacatalog.AddTagResponse\x12V\n\rListArtifacts\x12!.datacatalog.ListArtifactsRequest\x1a\".datacatalog.ListArtifactsResponse\x12S\n\x0cListDatasets\x12 .datacatalog.ListDatasetsRequest\x1a!.datacatalog.ListDatasetsResponse\x12Y\n\x0eUpdateArtifact\x12\".datacatalog.UpdateArtifactRequest\x1a#.datacatalog.UpdateArtifactResponse\x12Y\n\x0e\x44\x65leteArtifact\x12\".datacatalog.DeleteArtifactRequest\x1a#.datacatalog.DeleteArtifactResponse\x12[\n\x0f\x44\x65leteArtifacts\x12#.datacatalog.DeleteArtifactsRequest\x1a#.datacatalog.DeleteArtifactResponse\x12q\n\x16GetOrExtendReservation\x12*.datacatalog.GetOrExtendReservationRequest\x1a+.datacatalog.GetOrExtendReservationResponse\x12t\n\x17GetOrExtendReservations\x12+.datacatalog.GetOrExtendReservationsRequest\x1a,.datacatalog.GetOrExtendReservationsResponse\x12\x65\n\x12ReleaseReservation\x12&.datacatalog.ReleaseReservationRequest\x1a\'.datacatalog.ReleaseReservationResponse\x12g\n\x13ReleaseReservations\x12\'.datacatalog.ReleaseReservationsRequest\x1a\'.datacatalog.ReleaseReservationResponseB\xac\x01\n\x0f\x63om.datacatalogB\x10\x44\x61tacatalogProtoP\x01Z;github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/datacatalog\xa2\x02\x03\x44XX\xaa\x02\x0b\x44\x61tacatalog\xca\x02\x0b\x44\x61tacatalog\xe2\x02\x17\x44\x61tacatalog\\GPBMetadata\xea\x02\x0b\x44\x61tacatalogb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.datacatalog.datacatalog_pb2', globals()) @@ -58,56 +58,68 @@ _UPDATEARTIFACTREQUEST._serialized_end=1540 _UPDATEARTIFACTRESPONSE._serialized_start=1542 _UPDATEARTIFACTRESPONSE._serialized_end=1599 - _RESERVATIONID._serialized_start=1601 - _RESERVATIONID._serialized_end=1698 - _GETOREXTENDRESERVATIONREQUEST._serialized_start=1701 - _GETOREXTENDRESERVATIONREQUEST._serialized_end=1900 - _RESERVATION._serialized_start=1903 - _RESERVATION._serialized_end=2194 - _GETOREXTENDRESERVATIONRESPONSE._serialized_start=2196 - _GETOREXTENDRESERVATIONRESPONSE._serialized_end=2288 - _RELEASERESERVATIONREQUEST._serialized_start=2290 - _RELEASERESERVATIONREQUEST._serialized_end=2411 - _RELEASERESERVATIONRESPONSE._serialized_start=2413 - _RELEASERESERVATIONRESPONSE._serialized_end=2441 - _DATASET._serialized_start=2444 - _DATASET._serialized_end=2582 - _PARTITION._serialized_start=2584 - _PARTITION._serialized_end=2635 - _DATASETID._serialized_start=2637 - _DATASETID._serialized_end=2764 - _ARTIFACT._serialized_start=2767 - _ARTIFACT._serialized_end=3094 - _ARTIFACTDATA._serialized_start=3096 - _ARTIFACTDATA._serialized_end=3176 - _TAG._serialized_start=3178 - _TAG._serialized_end=3286 - _METADATA._serialized_start=3289 - _METADATA._serialized_end=3418 - _METADATA_KEYMAPENTRY._serialized_start=3361 - _METADATA_KEYMAPENTRY._serialized_end=3418 - _FILTEREXPRESSION._serialized_start=3420 - _FILTEREXPRESSION._serialized_end=3499 - _SINGLEPROPERTYFILTER._serialized_start=3502 - _SINGLEPROPERTYFILTER._serialized_end=3964 - _SINGLEPROPERTYFILTER_COMPARISONOPERATOR._serialized_start=3913 - _SINGLEPROPERTYFILTER_COMPARISONOPERATOR._serialized_end=3945 - _ARTIFACTPROPERTYFILTER._serialized_start=3966 - _ARTIFACTPROPERTYFILTER._serialized_end=4037 - _TAGPROPERTYFILTER._serialized_start=4039 - _TAGPROPERTYFILTER._serialized_end=4099 - _PARTITIONPROPERTYFILTER._serialized_start=4101 - _PARTITIONPROPERTYFILTER._serialized_end=4192 - _KEYVALUEPAIR._serialized_start=4194 - _KEYVALUEPAIR._serialized_end=4248 - _DATASETPROPERTYFILTER._serialized_start=4251 - _DATASETPROPERTYFILTER._serialized_end=4390 - _PAGINATIONOPTIONS._serialized_start=4393 - _PAGINATIONOPTIONS._serialized_end=4668 - _PAGINATIONOPTIONS_SORTORDER._serialized_start=4596 - _PAGINATIONOPTIONS_SORTORDER._serialized_end=4638 - _PAGINATIONOPTIONS_SORTKEY._serialized_start=4640 - _PAGINATIONOPTIONS_SORTKEY._serialized_end=4668 - _DATACATALOG._serialized_start=4671 - _DATACATALOG._serialized_end=5573 + _DELETEARTIFACTREQUEST._serialized_start=1602 + _DELETEARTIFACTREQUEST._serialized_end=1755 + _DELETEARTIFACTSREQUEST._serialized_start=1757 + _DELETEARTIFACTSREQUEST._serialized_end=1847 + _DELETEARTIFACTRESPONSE._serialized_start=1849 + _DELETEARTIFACTRESPONSE._serialized_end=1873 + _RESERVATIONID._serialized_start=1875 + _RESERVATIONID._serialized_end=1972 + _GETOREXTENDRESERVATIONREQUEST._serialized_start=1975 + _GETOREXTENDRESERVATIONREQUEST._serialized_end=2174 + _GETOREXTENDRESERVATIONSREQUEST._serialized_start=2176 + _GETOREXTENDRESERVATIONSREQUEST._serialized_end=2288 + _RESERVATION._serialized_start=2291 + _RESERVATION._serialized_end=2582 + _GETOREXTENDRESERVATIONRESPONSE._serialized_start=2584 + _GETOREXTENDRESERVATIONRESPONSE._serialized_end=2676 + _GETOREXTENDRESERVATIONSRESPONSE._serialized_start=2678 + _GETOREXTENDRESERVATIONSRESPONSE._serialized_end=2773 + _RELEASERESERVATIONREQUEST._serialized_start=2775 + _RELEASERESERVATIONREQUEST._serialized_end=2896 + _RELEASERESERVATIONSREQUEST._serialized_start=2898 + _RELEASERESERVATIONSREQUEST._serialized_end=3002 + _RELEASERESERVATIONRESPONSE._serialized_start=3004 + _RELEASERESERVATIONRESPONSE._serialized_end=3032 + _DATASET._serialized_start=3035 + _DATASET._serialized_end=3173 + _PARTITION._serialized_start=3175 + _PARTITION._serialized_end=3226 + _DATASETID._serialized_start=3228 + _DATASETID._serialized_end=3355 + _ARTIFACT._serialized_start=3358 + _ARTIFACT._serialized_end=3685 + _ARTIFACTDATA._serialized_start=3687 + _ARTIFACTDATA._serialized_end=3767 + _TAG._serialized_start=3769 + _TAG._serialized_end=3877 + _METADATA._serialized_start=3880 + _METADATA._serialized_end=4009 + _METADATA_KEYMAPENTRY._serialized_start=3952 + _METADATA_KEYMAPENTRY._serialized_end=4009 + _FILTEREXPRESSION._serialized_start=4011 + _FILTEREXPRESSION._serialized_end=4090 + _SINGLEPROPERTYFILTER._serialized_start=4093 + _SINGLEPROPERTYFILTER._serialized_end=4555 + _SINGLEPROPERTYFILTER_COMPARISONOPERATOR._serialized_start=4504 + _SINGLEPROPERTYFILTER_COMPARISONOPERATOR._serialized_end=4536 + _ARTIFACTPROPERTYFILTER._serialized_start=4557 + _ARTIFACTPROPERTYFILTER._serialized_end=4628 + _TAGPROPERTYFILTER._serialized_start=4630 + _TAGPROPERTYFILTER._serialized_end=4690 + _PARTITIONPROPERTYFILTER._serialized_start=4692 + _PARTITIONPROPERTYFILTER._serialized_end=4783 + _KEYVALUEPAIR._serialized_start=4785 + _KEYVALUEPAIR._serialized_end=4839 + _DATASETPROPERTYFILTER._serialized_start=4842 + _DATASETPROPERTYFILTER._serialized_end=4981 + _PAGINATIONOPTIONS._serialized_start=4984 + _PAGINATIONOPTIONS._serialized_end=5259 + _PAGINATIONOPTIONS_SORTORDER._serialized_start=5187 + _PAGINATIONOPTIONS_SORTORDER._serialized_end=5229 + _PAGINATIONOPTIONS_SORTKEY._serialized_start=5231 + _PAGINATIONOPTIONS_SORTKEY._serialized_end=5259 + _DATACATALOG._serialized_start=5262 + _DATACATALOG._serialized_end=6571 # @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.pyi b/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.pyi index 252534a55..f0df3b968 100644 --- a/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.pyi +++ b/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2.pyi @@ -107,6 +107,26 @@ class DatasetPropertyFilter(_message.Message): version: str def __init__(self, project: _Optional[str] = ..., name: _Optional[str] = ..., domain: _Optional[str] = ..., version: _Optional[str] = ...) -> None: ... +class DeleteArtifactRequest(_message.Message): + __slots__ = ["artifact_id", "dataset", "tag_name"] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] + DATASET_FIELD_NUMBER: _ClassVar[int] + TAG_NAME_FIELD_NUMBER: _ClassVar[int] + artifact_id: str + dataset: DatasetID + tag_name: str + def __init__(self, dataset: _Optional[_Union[DatasetID, _Mapping]] = ..., artifact_id: _Optional[str] = ..., tag_name: _Optional[str] = ...) -> None: ... + +class DeleteArtifactResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class DeleteArtifactsRequest(_message.Message): + __slots__ = ["artifacts"] + ARTIFACTS_FIELD_NUMBER: _ClassVar[int] + artifacts: _containers.RepeatedCompositeFieldContainer[DeleteArtifactRequest] + def __init__(self, artifacts: _Optional[_Iterable[_Union[DeleteArtifactRequest, _Mapping]]] = ...) -> None: ... + class FilterExpression(_message.Message): __slots__ = ["filters"] FILTERS_FIELD_NUMBER: _ClassVar[int] @@ -157,6 +177,18 @@ class GetOrExtendReservationResponse(_message.Message): reservation: Reservation def __init__(self, reservation: _Optional[_Union[Reservation, _Mapping]] = ...) -> None: ... +class GetOrExtendReservationsRequest(_message.Message): + __slots__ = ["reservations"] + RESERVATIONS_FIELD_NUMBER: _ClassVar[int] + reservations: _containers.RepeatedCompositeFieldContainer[GetOrExtendReservationRequest] + def __init__(self, reservations: _Optional[_Iterable[_Union[GetOrExtendReservationRequest, _Mapping]]] = ...) -> None: ... + +class GetOrExtendReservationsResponse(_message.Message): + __slots__ = ["reservations"] + RESERVATIONS_FIELD_NUMBER: _ClassVar[int] + reservations: _containers.RepeatedCompositeFieldContainer[Reservation] + def __init__(self, reservations: _Optional[_Iterable[_Union[Reservation, _Mapping]]] = ...) -> None: ... + class KeyValuePair(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -257,6 +289,12 @@ class ReleaseReservationResponse(_message.Message): __slots__ = [] def __init__(self) -> None: ... +class ReleaseReservationsRequest(_message.Message): + __slots__ = ["reservations"] + RESERVATIONS_FIELD_NUMBER: _ClassVar[int] + reservations: _containers.RepeatedCompositeFieldContainer[ReleaseReservationRequest] + def __init__(self, reservations: _Optional[_Iterable[_Union[ReleaseReservationRequest, _Mapping]]] = ...) -> None: ... + class Reservation(_message.Message): __slots__ = ["expires_at", "heartbeat_interval", "metadata", "owner_id", "reservation_id"] EXPIRES_AT_FIELD_NUMBER: _ClassVar[int] diff --git a/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2_grpc.py b/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2_grpc.py index b78b2fa78..1f4ea13f3 100644 --- a/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2_grpc.py +++ b/gen/pb_python/flyteidl/datacatalog/datacatalog_pb2_grpc.py @@ -58,16 +58,36 @@ def __init__(self, channel): request_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.UpdateArtifactRequest.SerializeToString, response_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.UpdateArtifactResponse.FromString, ) + self.DeleteArtifact = channel.unary_unary( + '/datacatalog.DataCatalog/DeleteArtifact', + request_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactRequest.SerializeToString, + response_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactResponse.FromString, + ) + self.DeleteArtifacts = channel.unary_unary( + '/datacatalog.DataCatalog/DeleteArtifacts', + request_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactsRequest.SerializeToString, + response_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactResponse.FromString, + ) self.GetOrExtendReservation = channel.unary_unary( '/datacatalog.DataCatalog/GetOrExtendReservation', request_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationRequest.SerializeToString, response_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationResponse.FromString, ) + self.GetOrExtendReservations = channel.unary_unary( + '/datacatalog.DataCatalog/GetOrExtendReservations', + request_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationsRequest.SerializeToString, + response_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationsResponse.FromString, + ) self.ReleaseReservation = channel.unary_unary( '/datacatalog.DataCatalog/ReleaseReservation', request_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationRequest.SerializeToString, response_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationResponse.FromString, ) + self.ReleaseReservations = channel.unary_unary( + '/datacatalog.DataCatalog/ReleaseReservations', + request_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationsRequest.SerializeToString, + response_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationResponse.FromString, + ) class DataCatalogServicer(object): @@ -135,6 +155,24 @@ def UpdateArtifact(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def DeleteArtifact(self, request, context): + """Deletes an existing artifact, removing the stored artifact data from the underlying blob storage. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteArtifacts(self, request, context): + """Deletes multiple existing artifacts, removing the stored artifact data from the underlying blob storage. + This endpoint is idempotent, trying to delete an unknown artifact or deleting existing artifact multiple times + will not result in an error. + The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + artifacts deleted, however the operation can simply be retried to remove the remaining entries. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def GetOrExtendReservation(self, request, context): """Attempts to get or extend a reservation for the corresponding artifact. If one already exists (ie. another entity owns the reservation) then that reservation is retrieved. @@ -152,6 +190,16 @@ def GetOrExtendReservation(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GetOrExtendReservations(self, request, context): + """Attempts to get or extend reservations for multiple artifacts in a single operation. + The first non-recoverable error encountered will be returned. Note that this might leave some artifacts in a + reserved state if one acquisition fails - retry the operation or release all attempted artifacts (as the release + endpoint is idempotent) to ensure no resources are locked accidentally in case of an error. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def ReleaseReservation(self, request, context): """Release the reservation when the task holding the spot fails so that the other tasks can grab the spot. @@ -160,6 +208,18 @@ def ReleaseReservation(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def ReleaseReservations(self, request, context): + """Releases reservations for multiple artifacts in a single operation. + This endpoint is idempotent, trying to release an unknown reservation or releasing existing reservations multiple + times will not result in error. + The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + artifacts in their previous reserved state, however the operation can simply be retried to remove the remaining + reservations. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_DataCatalogServicer_to_server(servicer, server): rpc_method_handlers = { @@ -203,16 +263,36 @@ def add_DataCatalogServicer_to_server(servicer, server): request_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.UpdateArtifactRequest.FromString, response_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.UpdateArtifactResponse.SerializeToString, ), + 'DeleteArtifact': grpc.unary_unary_rpc_method_handler( + servicer.DeleteArtifact, + request_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactRequest.FromString, + response_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactResponse.SerializeToString, + ), + 'DeleteArtifacts': grpc.unary_unary_rpc_method_handler( + servicer.DeleteArtifacts, + request_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactsRequest.FromString, + response_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactResponse.SerializeToString, + ), 'GetOrExtendReservation': grpc.unary_unary_rpc_method_handler( servicer.GetOrExtendReservation, request_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationRequest.FromString, response_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationResponse.SerializeToString, ), + 'GetOrExtendReservations': grpc.unary_unary_rpc_method_handler( + servicer.GetOrExtendReservations, + request_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationsRequest.FromString, + response_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationsResponse.SerializeToString, + ), 'ReleaseReservation': grpc.unary_unary_rpc_method_handler( servicer.ReleaseReservation, request_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationRequest.FromString, response_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationResponse.SerializeToString, ), + 'ReleaseReservations': grpc.unary_unary_rpc_method_handler( + servicer.ReleaseReservations, + request_deserializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationsRequest.FromString, + response_serializer=flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'datacatalog.DataCatalog', rpc_method_handlers) @@ -363,6 +443,40 @@ def UpdateArtifact(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def DeleteArtifact(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/datacatalog.DataCatalog/DeleteArtifact', + flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactRequest.SerializeToString, + flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeleteArtifacts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/datacatalog.DataCatalog/DeleteArtifacts', + flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactsRequest.SerializeToString, + flyteidl_dot_datacatalog_dot_datacatalog__pb2.DeleteArtifactResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def GetOrExtendReservation(request, target, @@ -380,6 +494,23 @@ def GetOrExtendReservation(request, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod + def GetOrExtendReservations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/datacatalog.DataCatalog/GetOrExtendReservations', + flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationsRequest.SerializeToString, + flyteidl_dot_datacatalog_dot_datacatalog__pb2.GetOrExtendReservationsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + @staticmethod def ReleaseReservation(request, target, @@ -396,3 +527,20 @@ def ReleaseReservation(request, flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ReleaseReservations(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/datacatalog.DataCatalog/ReleaseReservations', + flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationsRequest.SerializeToString, + flyteidl_dot_datacatalog_dot_datacatalog__pb2.ReleaseReservationResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/gen/pb_python/flyteidl/service/admin_pb2.py b/gen/pb_python/flyteidl/service/admin_pb2.py index 64cab73d0..140635d76 100644 --- a/gen/pb_python/flyteidl/service/admin_pb2.py +++ b/gen/pb_python/flyteidl/service/admin_pb2.py @@ -27,10 +27,9 @@ from flyteidl.admin import version_pb2 as flyteidl_dot_admin_dot_version__pb2 from flyteidl.admin import common_pb2 as flyteidl_dot_admin_dot_common__pb2 from flyteidl.admin import description_entity_pb2 as flyteidl_dot_admin_dot_description__entity__pb2 -from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(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\'flyteidl/admin/project_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/matchable_resource.proto\x1a#flyteidl/admin/node_execution.proto\x1a#flyteidl/admin/task_execution.proto\x1a\x1c\x66lyteidl/admin/version.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\'flyteidl/admin/description_entity.proto\x1a\x1e\x66lyteidl/core/identifier.proto2\xbcL\n\x0c\x41\x64minService\x12m\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/api/v1/tasks\x12\x88\x01\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"E\x82\xd3\xe4\x93\x02?\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x97\x01\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"+\x82\xd3\xe4\x93\x02%\x12#/api/v1/task_ids/{project}/{domain}\x12\xae\x01\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"b\x82\xd3\xe4\x93\x02\\Z(\x12&/api/v1/tasks/{id.project}/{id.domain}\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}\x12}\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/v1/workflows\x12\x94\x01\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x9f\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"/\x82\xd3\xe4\x93\x02)\x12\'/api/v1/workflow_ids/{project}/{domain}\x12\xbe\x01\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"j\x82\xd3\xe4\x93\x02\x64Z,\x12*/api/v1/workflows/{id.project}/{id.domain}\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}\x12\x86\x01\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/launch_plans\x12\x9b\x01\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xa2\x01\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"F\x82\xd3\xe4\x93\x02@\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x12\x9c\x01\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"6\x82\xd3\xe4\x93\x02\x30\x12./api/v1/active_launch_plans/{project}/{domain}\x12\xa4\x01\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"2\x82\xd3\xe4\x93\x02,\x12*/api/v1/launch_plan_ids/{project}/{domain}\x12\xc8\x01\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"p\x82\xd3\xe4\x93\x02jZ/\x12-/api/v1/launch_plans/{id.project}/{id.domain}\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}\x12\xb6\x01\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"O\x82\xd3\xe4\x93\x02I:\x01*\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x81\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v1/executions\x12\x8e\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/v1/executions/relaunch\x12\x8b\x01\n\x10RecoverExecution\x12\'.flyteidl.admin.ExecutionRecoverRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/v1/executions/recover\x12\x95\x01\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xa4\x01\n\x0fUpdateExecution\x12&.flyteidl.admin.ExecutionUpdateRequest\x1a\'.flyteidl.admin.ExecutionUpdateResponse\"@\x82\xd3\xe4\x93\x02::\x01*\x1a\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xb9\x01\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x12\x89\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"3\x82\xd3\xe4\x93\x02-\x12+/api/v1/executions/{id.project}/{id.domain}\x12\xad\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"@\x82\xd3\xe4\x93\x02::\x01**5/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xd2\x01\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"v\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}\x12\xde\x01\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"{\x82\xd3\xe4\x93\x02u\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\xa5\x04\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xb3\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}\x12\xee\x01\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"{\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}\x12\x7f\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/api/v1/projects\x12q\n\rUpdateProject\x12\x17.flyteidl.admin.Project\x1a%.flyteidl.admin.ProjectUpdateResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/api/v1/projects/{id}\x12\x66\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v1/projects\x12\x99\x01\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v1/events/workflows\x12\x89\x01\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/events/nodes\x12\x89\x01\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/events/tasks\x12\x80\x03\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\xa3\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}\x12\x98\x02\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\xb4\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}\x12\x9c\x03\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xa8\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}\x12\xe3\x01\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"U\x82\xd3\xe4\x93\x02O:\x01*\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}\x12\xc1\x01\n\x1aGetProjectDomainAttributes\x12\x31.flyteidl.admin.ProjectDomainAttributesGetRequest\x1a\x32.flyteidl.admin.ProjectDomainAttributesGetResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/api/v1/project_domain_attributes/{project}/{domain}\x12\xcd\x01\n\x1d\x44\x65leteProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesDeleteRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesDeleteResponse\"?\x82\xd3\xe4\x93\x02\x39:\x01**4/api/v1/project_domain_attributes/{project}/{domain}\x12\xb6\x01\n\x17UpdateProjectAttributes\x12..flyteidl.admin.ProjectAttributesUpdateRequest\x1a/.flyteidl.admin.ProjectAttributesUpdateResponse\":\x82\xd3\xe4\x93\x02\x34:\x01*\x1a//api/v1/project_attributes/{attributes.project}\x12\x9f\x01\n\x14GetProjectAttributes\x12+.flyteidl.admin.ProjectAttributesGetRequest\x1a,.flyteidl.admin.ProjectAttributesGetResponse\",\x82\xd3\xe4\x93\x02&\x12$/api/v1/project_attributes/{project}\x12\xab\x01\n\x17\x44\x65leteProjectAttributes\x12..flyteidl.admin.ProjectAttributesDeleteRequest\x1a/.flyteidl.admin.ProjectAttributesDeleteResponse\"/\x82\xd3\xe4\x93\x02):\x01**$/api/v1/project_attributes/{project}\x12\xe4\x01\n\x18UpdateWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesUpdateRequest\x1a\x30.flyteidl.admin.WorkflowAttributesUpdateResponse\"e\x82\xd3\xe4\x93\x02_:\x01*\x1aZ/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}\x12\xb7\x01\n\x15GetWorkflowAttributes\x12,.flyteidl.admin.WorkflowAttributesGetRequest\x1a-.flyteidl.admin.WorkflowAttributesGetResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xc3\x01\n\x18\x44\x65leteWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesDeleteRequest\x1a\x30.flyteidl.admin.WorkflowAttributesDeleteResponse\"D\x82\xd3\xe4\x93\x02>:\x01**9/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xa0\x01\n\x17ListMatchableAttributes\x12..flyteidl.admin.ListMatchableAttributesRequest\x1a/.flyteidl.admin.ListMatchableAttributesResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v1/matchable_attributes\x12\x9f\x01\n\x11ListNamedEntities\x12&.flyteidl.admin.NamedEntityListRequest\x1a\x1f.flyteidl.admin.NamedEntityList\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/named_entities/{resource_type}/{project}/{domain}\x12\xa7\x01\n\x0eGetNamedEntity\x12%.flyteidl.admin.NamedEntityGetRequest\x1a\x1b.flyteidl.admin.NamedEntity\"Q\x82\xd3\xe4\x93\x02K\x12I/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12\xbe\x01\n\x11UpdateNamedEntity\x12(.flyteidl.admin.NamedEntityUpdateRequest\x1a).flyteidl.admin.NamedEntityUpdateResponse\"T\x82\xd3\xe4\x93\x02N:\x01*\x1aI/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12l\n\nGetVersion\x12!.flyteidl.admin.GetVersionRequest\x1a\".flyteidl.admin.GetVersionResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/v1/version\x12\xc4\x01\n\x14GetDescriptionEntity\x12 .flyteidl.admin.ObjectGetRequest\x1a!.flyteidl.admin.DescriptionEntity\"g\x82\xd3\xe4\x93\x02\x61\x12_/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x92\x02\n\x17ListDescriptionEntities\x12,.flyteidl.admin.DescriptionEntityListRequest\x1a%.flyteidl.admin.DescriptionEntityList\"\xa1\x01\x82\xd3\xe4\x93\x02\x9a\x01ZG\x12\x45/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}\x12O/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}B\xbc\x01\n\x14\x63om.flyteidl.serviceB\nAdminProtoP\x01Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service\xa2\x02\x03\x46SX\xaa\x02\x10\x46lyteidl.Service\xca\x02\x10\x46lyteidl\\Service\xe2\x02\x1c\x46lyteidl\\Service\\GPBMetadata\xea\x02\x11\x46lyteidl::Serviceb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(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\'flyteidl/admin/project_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/matchable_resource.proto\x1a#flyteidl/admin/node_execution.proto\x1a#flyteidl/admin/task_execution.proto\x1a\x1c\x66lyteidl/admin/version.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\'flyteidl/admin/description_entity.proto2\xbcL\n\x0c\x41\x64minService\x12m\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"\x18\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/api/v1/tasks\x12\x88\x01\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"E\x82\xd3\xe4\x93\x02?\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x97\x01\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"+\x82\xd3\xe4\x93\x02%\x12#/api/v1/task_ids/{project}/{domain}\x12\xae\x01\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"b\x82\xd3\xe4\x93\x02\\Z(\x12&/api/v1/tasks/{id.project}/{id.domain}\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}\x12}\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/v1/workflows\x12\x94\x01\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x9f\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"/\x82\xd3\xe4\x93\x02)\x12\'/api/v1/workflow_ids/{project}/{domain}\x12\xbe\x01\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"j\x82\xd3\xe4\x93\x02\x64Z,\x12*/api/v1/workflows/{id.project}/{id.domain}\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}\x12\x86\x01\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/launch_plans\x12\x9b\x01\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\xa2\x01\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"F\x82\xd3\xe4\x93\x02@\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x12\x9c\x01\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"6\x82\xd3\xe4\x93\x02\x30\x12./api/v1/active_launch_plans/{project}/{domain}\x12\xa4\x01\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"2\x82\xd3\xe4\x93\x02,\x12*/api/v1/launch_plan_ids/{project}/{domain}\x12\xc8\x01\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"p\x82\xd3\xe4\x93\x02jZ/\x12-/api/v1/launch_plans/{id.project}/{id.domain}\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}\x12\xb6\x01\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"O\x82\xd3\xe4\x93\x02I:\x01*\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x81\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v1/executions\x12\x8e\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/v1/executions/relaunch\x12\x8b\x01\n\x10RecoverExecution\x12\'.flyteidl.admin.ExecutionRecoverRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/v1/executions/recover\x12\x95\x01\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xa4\x01\n\x0fUpdateExecution\x12&.flyteidl.admin.ExecutionUpdateRequest\x1a\'.flyteidl.admin.ExecutionUpdateResponse\"@\x82\xd3\xe4\x93\x02::\x01*\x1a\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xb9\x01\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"B\x82\xd3\xe4\x93\x02<\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x12\x89\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"3\x82\xd3\xe4\x93\x02-\x12+/api/v1/executions/{id.project}/{id.domain}\x12\xad\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"@\x82\xd3\xe4\x93\x02::\x01**5/api/v1/executions/{id.project}/{id.domain}/{id.name}\x12\xd2\x01\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"v\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}\x12\xde\x01\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"{\x82\xd3\xe4\x93\x02u\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\xa5\x04\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xb3\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}\x12\xee\x01\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"{\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}\x12\x7f\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/api/v1/projects\x12q\n\rUpdateProject\x12\x17.flyteidl.admin.Project\x1a%.flyteidl.admin.ProjectUpdateResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x1a\x15/api/v1/projects/{id}\x12\x66\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v1/projects\x12\x99\x01\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v1/events/workflows\x12\x89\x01\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/events/nodes\x12\x89\x01\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/events/tasks\x12\x80\x03\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\xa3\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}\x12\x98\x02\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\xb4\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}\x12\x9c\x03\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xa8\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}\x12\xe3\x01\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"U\x82\xd3\xe4\x93\x02O:\x01*\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}\x12\xc1\x01\n\x1aGetProjectDomainAttributes\x12\x31.flyteidl.admin.ProjectDomainAttributesGetRequest\x1a\x32.flyteidl.admin.ProjectDomainAttributesGetResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/api/v1/project_domain_attributes/{project}/{domain}\x12\xcd\x01\n\x1d\x44\x65leteProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesDeleteRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesDeleteResponse\"?\x82\xd3\xe4\x93\x02\x39:\x01**4/api/v1/project_domain_attributes/{project}/{domain}\x12\xb6\x01\n\x17UpdateProjectAttributes\x12..flyteidl.admin.ProjectAttributesUpdateRequest\x1a/.flyteidl.admin.ProjectAttributesUpdateResponse\":\x82\xd3\xe4\x93\x02\x34:\x01*\x1a//api/v1/project_attributes/{attributes.project}\x12\x9f\x01\n\x14GetProjectAttributes\x12+.flyteidl.admin.ProjectAttributesGetRequest\x1a,.flyteidl.admin.ProjectAttributesGetResponse\",\x82\xd3\xe4\x93\x02&\x12$/api/v1/project_attributes/{project}\x12\xab\x01\n\x17\x44\x65leteProjectAttributes\x12..flyteidl.admin.ProjectAttributesDeleteRequest\x1a/.flyteidl.admin.ProjectAttributesDeleteResponse\"/\x82\xd3\xe4\x93\x02):\x01**$/api/v1/project_attributes/{project}\x12\xe4\x01\n\x18UpdateWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesUpdateRequest\x1a\x30.flyteidl.admin.WorkflowAttributesUpdateResponse\"e\x82\xd3\xe4\x93\x02_:\x01*\x1aZ/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}\x12\xb7\x01\n\x15GetWorkflowAttributes\x12,.flyteidl.admin.WorkflowAttributesGetRequest\x1a-.flyteidl.admin.WorkflowAttributesGetResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xc3\x01\n\x18\x44\x65leteWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesDeleteRequest\x1a\x30.flyteidl.admin.WorkflowAttributesDeleteResponse\"D\x82\xd3\xe4\x93\x02>:\x01**9/api/v1/workflow_attributes/{project}/{domain}/{workflow}\x12\xa0\x01\n\x17ListMatchableAttributes\x12..flyteidl.admin.ListMatchableAttributesRequest\x1a/.flyteidl.admin.ListMatchableAttributesResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v1/matchable_attributes\x12\x9f\x01\n\x11ListNamedEntities\x12&.flyteidl.admin.NamedEntityListRequest\x1a\x1f.flyteidl.admin.NamedEntityList\"A\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/named_entities/{resource_type}/{project}/{domain}\x12\xa7\x01\n\x0eGetNamedEntity\x12%.flyteidl.admin.NamedEntityGetRequest\x1a\x1b.flyteidl.admin.NamedEntity\"Q\x82\xd3\xe4\x93\x02K\x12I/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12\xbe\x01\n\x11UpdateNamedEntity\x12(.flyteidl.admin.NamedEntityUpdateRequest\x1a).flyteidl.admin.NamedEntityUpdateResponse\"T\x82\xd3\xe4\x93\x02N:\x01*\x1aI/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x12l\n\nGetVersion\x12!.flyteidl.admin.GetVersionRequest\x1a\".flyteidl.admin.GetVersionResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/v1/version\x12\xc4\x01\n\x14GetDescriptionEntity\x12 .flyteidl.admin.ObjectGetRequest\x1a!.flyteidl.admin.DescriptionEntity\"g\x82\xd3\xe4\x93\x02\x61\x12_/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}\x12\x92\x02\n\x17ListDescriptionEntities\x12,.flyteidl.admin.DescriptionEntityListRequest\x1a%.flyteidl.admin.DescriptionEntityList\"\xa1\x01\x82\xd3\xe4\x93\x02\x9a\x01ZG\x12\x45/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}\x12O/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}B\xbc\x01\n\x14\x63om.flyteidl.serviceB\nAdminProtoP\x01Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service\xa2\x02\x03\x46SX\xaa\x02\x10\x46lyteidl.Service\xca\x02\x10\x46lyteidl\\Service\xe2\x02\x1c\x46lyteidl\\Service\\GPBMetadata\xea\x02\x11\x46lyteidl::Serviceb\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.service.admin_pb2', globals()) @@ -142,6 +141,6 @@ _ADMINSERVICE.methods_by_name['GetDescriptionEntity']._serialized_options = b'\202\323\344\223\002a\022_/api/v1/description_entities/{id.resource_type}/{id.project}/{id.domain}/{id.name}/{id.version}' _ADMINSERVICE.methods_by_name['ListDescriptionEntities']._options = None _ADMINSERVICE.methods_by_name['ListDescriptionEntities']._serialized_options = b'\202\323\344\223\002\232\001ZG\022E/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}\022O/api/v1/description_entities/{resource_type}/{id.project}/{id.domain}/{id.name}' - _ADMINSERVICE._serialized_start=641 - _ADMINSERVICE._serialized_end=10429 + _ADMINSERVICE._serialized_start=609 + _ADMINSERVICE._serialized_end=10397 # @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/service/admin_pb2.pyi b/gen/pb_python/flyteidl/service/admin_pb2.pyi index d0120eb22..a9028cea2 100644 --- a/gen/pb_python/flyteidl/service/admin_pb2.pyi +++ b/gen/pb_python/flyteidl/service/admin_pb2.pyi @@ -14,7 +14,6 @@ from flyteidl.admin import task_execution_pb2 as _task_execution_pb2 from flyteidl.admin import version_pb2 as _version_pb2 from flyteidl.admin import common_pb2 as _common_pb2 from flyteidl.admin import description_entity_pb2 as _description_entity_pb2 -from flyteidl.core import identifier_pb2 as _identifier_pb2 from google.protobuf import descriptor as _descriptor from typing import ClassVar as _ClassVar diff --git a/gen/pb_python/flyteidl/service/cache_pb2.py b/gen/pb_python/flyteidl/service/cache_pb2.py new file mode 100644 index 000000000..e06d06dca --- /dev/null +++ b/gen/pb_python/flyteidl/service/cache_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/service/cache.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from flyteidl.core import errors_pb2 as flyteidl_dot_core_dot_errors__pb2 +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lyteidl/service/cache.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1a\x66lyteidl/core/errors.proto\x1a\x1e\x66lyteidl/core/identifier.proto\"|\n\x1a\x45victExecutionCacheRequest\x12^\n\x15workflow_execution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x13workflowExecutionId\"t\n\x1e\x45victTaskExecutionCacheRequest\x12R\n\x11task_execution_id\x18\x01 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierR\x0ftaskExecutionId\"S\n\x12\x45victCacheResponse\x12=\n\x06\x65rrors\x18\x01 \x01(\x0b\x32%.flyteidl.core.CacheEvictionErrorListR\x06\x65rrors2\x9f\x06\n\x0c\x43\x61\x63heService\x12\xe7\x01\n\x13\x45victExecutionCache\x12,.flyteidl.service.EvictExecutionCacheRequest\x1a$.flyteidl.service.EvictCacheResponse\"|\x82\xd3\xe4\x93\x02v*t/api/v1/cache/executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x12\xa4\x04\n\x17\x45victTaskExecutionCache\x12\x30.flyteidl.service.EvictTaskExecutionCacheRequest\x1a$.flyteidl.service.EvictCacheResponse\"\xb0\x03\x82\xd3\xe4\x93\x02\xa9\x03*\xa6\x03/api/v1/cache/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}B\xbc\x01\n\x14\x63om.flyteidl.serviceB\nCacheProtoP\x01Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service\xa2\x02\x03\x46SX\xaa\x02\x10\x46lyteidl.Service\xca\x02\x10\x46lyteidl\\Service\xe2\x02\x1c\x46lyteidl\\Service\\GPBMetadata\xea\x02\x11\x46lyteidl::Serviceb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.service.cache_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\024com.flyteidl.serviceB\nCacheProtoP\001Z7github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service\242\002\003FSX\252\002\020Flyteidl.Service\312\002\020Flyteidl\\Service\342\002\034Flyteidl\\Service\\GPBMetadata\352\002\021Flyteidl::Service' + _CACHESERVICE.methods_by_name['EvictExecutionCache']._options = None + _CACHESERVICE.methods_by_name['EvictExecutionCache']._serialized_options = b'\202\323\344\223\002v*t/api/v1/cache/executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}' + _CACHESERVICE.methods_by_name['EvictTaskExecutionCache']._options = None + _CACHESERVICE.methods_by_name['EvictTaskExecutionCache']._serialized_options = b'\202\323\344\223\002\251\003*\246\003/api/v1/cache/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}' + _EVICTEXECUTIONCACHEREQUEST._serialized_start=140 + _EVICTEXECUTIONCACHEREQUEST._serialized_end=264 + _EVICTTASKEXECUTIONCACHEREQUEST._serialized_start=266 + _EVICTTASKEXECUTIONCACHEREQUEST._serialized_end=382 + _EVICTCACHERESPONSE._serialized_start=384 + _EVICTCACHERESPONSE._serialized_end=467 + _CACHESERVICE._serialized_start=470 + _CACHESERVICE._serialized_end=1269 +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/service/cache_pb2.pyi b/gen/pb_python/flyteidl/service/cache_pb2.pyi new file mode 100644 index 000000000..0c4988e05 --- /dev/null +++ b/gen/pb_python/flyteidl/service/cache_pb2.pyi @@ -0,0 +1,26 @@ +from google.api import annotations_pb2 as _annotations_pb2 +from flyteidl.core import errors_pb2 as _errors_pb2 +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class EvictCacheResponse(_message.Message): + __slots__ = ["errors"] + ERRORS_FIELD_NUMBER: _ClassVar[int] + errors: _errors_pb2.CacheEvictionErrorList + def __init__(self, errors: _Optional[_Union[_errors_pb2.CacheEvictionErrorList, _Mapping]] = ...) -> None: ... + +class EvictExecutionCacheRequest(_message.Message): + __slots__ = ["workflow_execution_id"] + WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + workflow_execution_id: _identifier_pb2.WorkflowExecutionIdentifier + def __init__(self, workflow_execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ...) -> None: ... + +class EvictTaskExecutionCacheRequest(_message.Message): + __slots__ = ["task_execution_id"] + TASK_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + task_execution_id: _identifier_pb2.TaskExecutionIdentifier + def __init__(self, task_execution_id: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ...) -> None: ... diff --git a/gen/pb_python/flyteidl/service/cache_pb2_grpc.py b/gen/pb_python/flyteidl/service/cache_pb2_grpc.py new file mode 100644 index 000000000..80b802f24 --- /dev/null +++ b/gen/pb_python/flyteidl/service/cache_pb2_grpc.py @@ -0,0 +1,104 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from flyteidl.service import cache_pb2 as flyteidl_dot_service_dot_cache__pb2 + + +class CacheServiceStub(object): + """CacheService defines an RPC Service for interacting with cached data in Flyte on a high level basis. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.EvictExecutionCache = channel.unary_unary( + '/flyteidl.service.CacheService/EvictExecutionCache', + request_serializer=flyteidl_dot_service_dot_cache__pb2.EvictExecutionCacheRequest.SerializeToString, + response_deserializer=flyteidl_dot_service_dot_cache__pb2.EvictCacheResponse.FromString, + ) + self.EvictTaskExecutionCache = channel.unary_unary( + '/flyteidl.service.CacheService/EvictTaskExecutionCache', + request_serializer=flyteidl_dot_service_dot_cache__pb2.EvictTaskExecutionCacheRequest.SerializeToString, + response_deserializer=flyteidl_dot_service_dot_cache__pb2.EvictCacheResponse.FromString, + ) + + +class CacheServiceServicer(object): + """CacheService defines an RPC Service for interacting with cached data in Flyte on a high level basis. + """ + + def EvictExecutionCache(self, request, context): + """Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def EvictTaskExecutionCache(self, request, context): + """Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_CacheServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'EvictExecutionCache': grpc.unary_unary_rpc_method_handler( + servicer.EvictExecutionCache, + request_deserializer=flyteidl_dot_service_dot_cache__pb2.EvictExecutionCacheRequest.FromString, + response_serializer=flyteidl_dot_service_dot_cache__pb2.EvictCacheResponse.SerializeToString, + ), + 'EvictTaskExecutionCache': grpc.unary_unary_rpc_method_handler( + servicer.EvictTaskExecutionCache, + request_deserializer=flyteidl_dot_service_dot_cache__pb2.EvictTaskExecutionCacheRequest.FromString, + response_serializer=flyteidl_dot_service_dot_cache__pb2.EvictCacheResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'flyteidl.service.CacheService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class CacheService(object): + """CacheService defines an RPC Service for interacting with cached data in Flyte on a high level basis. + """ + + @staticmethod + def EvictExecutionCache(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.service.CacheService/EvictExecutionCache', + flyteidl_dot_service_dot_cache__pb2.EvictExecutionCacheRequest.SerializeToString, + flyteidl_dot_service_dot_cache__pb2.EvictCacheResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def EvictTaskExecutionCache(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.service.CacheService/EvictTaskExecutionCache', + flyteidl_dot_service_dot_cache__pb2.EvictTaskExecutionCacheRequest.SerializeToString, + flyteidl_dot_service_dot_cache__pb2.EvictCacheResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/go.mod b/go.mod index 84df3143f..912ec1fc4 100644 --- a/go.mod +++ b/go.mod @@ -4,24 +4,23 @@ go 1.16 require ( github.com/antihax/optional v1.0.0 - github.com/flyteorg/flytestdlib v1.0.0 + github.com/flyteorg/flytestdlib v1.0.12 github.com/go-test/deep v1.0.7 - github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.4.3 + github.com/golang/glog v1.0.0 + github.com/golang/protobuf v1.5.2 github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/jinzhu/copier v0.3.5 - github.com/mitchellh/mapstructure v1.4.1 + github.com/mitchellh/mapstructure v1.4.3 github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 github.com/pkg/errors v0.9.1 github.com/spf13/pflag v1.0.5 - github.com/stretchr/testify v1.7.0 - github.com/vektra/mockery v1.1.2 // indirect - golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f - golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013 - google.golang.org/api v0.38.0 - google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506 - google.golang.org/grpc v1.35.0 + github.com/stretchr/testify v1.7.1 + golang.org/x/net v0.0.0-20220722155237-a158d28d115b + golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 + google.golang.org/api v0.76.0 + google.golang.org/genproto v0.0.0-20220426171045-31bebdecfb46 + google.golang.org/grpc v1.46.0 k8s.io/apimachinery v0.20.2 ) diff --git a/go.sum b/go.sum index d3b79ca52..8d029645a 100644 --- a/go.sum +++ b/go.sum @@ -3,6 +3,7 @@ cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= @@ -13,20 +14,40 @@ cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKV cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.66.0/go.mod h1:dgqGAjKCDxyhGTtC9dAREQGUJpkceNm1yt590Qno0Ko= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0 h1:XgtDnVJRCPEUG21gjFiRPz4zI1Mjg16R+NYQjfmU4XY= cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= +cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= +cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= +cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= +cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= +cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go v0.101.0 h1:g+LL+JvpvdyGtcaD2xw2mSByE/6F9s471eJSoaysM84= +cloud.google.com/go v0.101.0/go.mod h1:hEiddgDb77jDQ+I80tURYNJEnuwPzFU8awCFFRLKjW0= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= +cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= +cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= +cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= +cloud.google.com/go/compute v1.6.1 h1:2sMmt8prCn7DPaG4Pmh0N3Inmc8cT8ae5k1M6VJ9Wqc= +cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= +cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= +cloud.google.com/go/iam v0.3.0 h1:exkAomrVUuzx9kWFI1wm3KI0uoDeUFPB4kKGzx6x+Gc= +cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -36,54 +57,52 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.12.0 h1:4y3gHptW1EHVtcPAVE0eBBlFuGqEejTTG3KdIE0lUX4= -cloud.google.com/go/storage v1.12.0/go.mod h1:fFLk2dp2oAhDz8QFKwqrjdJvxSp/W2g7nillojlL5Ho= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= +cloud.google.com/go/storage v1.22.0 h1:NUV0NNp9nkBuW66BFRLuMgldN60C57ET3dhbwLIYio8= +cloud.google.com/go/storage v1.22.0/go.mod h1:GbaLEoMqbVm6sx3Z0R++gSiBlgMv6yUi2q1DeGFKQgE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Azure/azure-sdk-for-go v62.3.0+incompatible h1:Ctfsn9UoA/BB4HMYQlbPPgNXdX0tZ4tmb85+KFb2+RE= -github.com/Azure/azure-sdk-for-go v62.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1 h1:qoVeMsc9/fh/yhxVaA0obYjVH/oI/ihrOoMwsLS9KSA= -github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM= -github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3 h1:E+m3SkZCN0Bf5q7YdTs5lSm2CYY3CK4spn5OmUIiQtk= -github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0 h1:Px2UA+2RvSSvv+RvJNuUB6n7rs5Wsel4dXLe90Um2n4= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo= +github.com/Azure/azure-sdk-for-go v63.4.0+incompatible h1:fle3M5Q7vr8auaiPffKyUQmLbvYeqpw30bKU6PrWJFo= +github.com/Azure/azure-sdk-for-go v63.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0/go.mod h1:w5pDIZuawUmY3Bj4tVx3Xb8KS96ToB0j315w9rqpAg0= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.1 h1:3CVsSo4mp8NDWO11tHzN/mdo2zP0CtaSK5IcwBjfqRA= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.1/go.mod h1:w5pDIZuawUmY3Bj4tVx3Xb8KS96ToB0j315w9rqpAg0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 h1:NVS/4LOQfkBpk+B1VopIzv1ptmYeEskA8w/3K/w7vjo= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0/go.mod h1:RG0cZndeZM17StwohYclmcXSr4oOJ8b1I5hB8llIc6Y= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2 h1:Px2KVERcYEg2Lv25AqC2hVr0xUWaq94wuEObLIkYzmA= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2/go.mod h1:CdSJQNNzZhCkwDaV27XV1w48ZBPtxe7mlrZAsPNxD5g= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.0 h1:0nJeKDmB7a1a8RDMjTltahlPsaNlWjq/LpkZleSwINk= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.0/go.mod h1:mbwxKc/fW+IkF0GG591MuXw0KuEQBDkeRoZ9vmVJPxg= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest v0.11.12/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= -github.com/Azure/go-autorest/autorest v0.11.17 h1:2zCdHwNgRH+St1J+ZMf66xI8aLr/5KMy+wWLH97zwYM= -github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= -github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= +github.com/Azure/go-autorest/autorest v0.11.27 h1:F3R3q42aWytozkV8ihzcgMO4OA4cuqr3bNlsEuF6//A= +github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.10 h1:r6fZHMaHD8B6LDCn0o5vyBFHIHrM6Ywwx7mb49lPItI= -github.com/Azure/go-autorest/autorest/adal v0.9.10/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= +github.com/Azure/go-autorest/autorest/adal v0.9.18 h1:kLnPsRjzZZUF3K5REu/Kc+qMQrvuza2bwSnNdhmzLfQ= +github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= +github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/logger v0.2.0 h1:e4RVHVZKC5p6UANLJHkM4OfR1UKZPj8Wt8Pcx+3oqrE= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= +github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= +github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= -github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= @@ -91,98 +110,83 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= +github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= -github.com/aws/aws-sdk-go v1.23.4/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.37.1 h1:BTHmuN+gzhxkvU9sac2tZvaY0gV9ihbHw+KxZOecYvY= -github.com/aws/aws-sdk-go v1.37.1/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= +github.com/aws/aws-sdk-go v1.44.2 h1:5VBk5r06bgxgRKVaUtm1/4NT/rtrnH2E4cnAYv5zgQc= +github.com/aws/aws-sdk-go v1.44.2/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/benlaurie/objecthash v0.0.0-20180202135721-d1e3d6079fc1/go.mod h1:jvdWlw8vowVGnZqSDC7yhPd7AifQeQbRDkZcQXV2nRg= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= -github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod h1:h/aW8ynjgkuj+NQRlZcDbAbM1ORAbXjXX77sX7T289U= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= +github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= +github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/coocood/freecache v1.1.1 h1:uukNF7QKCZEdZ9gAV7WQzvh0SbjwdMF6m3x3rxEkaPc= github.com/coocood/freecache v1.1.1/go.mod h1:OKrEjkGVoxZhyWAJoeFi5BMLUJm2Tit0kpGkIr7NGYY= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= -github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= -github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= -github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= -github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607/go.mod h1:Cg4fM0vhYWOZdgM7RIOSTRNIc8/VT7CXClC3Ni86lu4= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.10.0 h1:s36xzo75JdqLaaWoiEHk767eHiwo0598uUxyfiPkDsg= -github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= +github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= +github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= -github.com/flyteorg/flytestdlib v1.0.0 h1:gb99ignMsVcNTUmWzArtcIDdkRjyzQQVBkWNOQakiFg= -github.com/flyteorg/flytestdlib v1.0.0/go.mod h1:QSVN5wIM1lM9d60eAEbX7NwweQXW96t5x4jbyftn89c= -github.com/flyteorg/stow v0.3.3 h1:tzeNl8mSZFL3oJDi0ACZj6FAineQAF4qyEp6bXtIdQY= -github.com/flyteorg/stow v0.3.3/go.mod h1:HBld7ud0i4khMHwJjkO8v+NSP7ddKa/ruhf4I8fliaA= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= +github.com/flyteorg/flytestdlib v1.0.12 h1:A+yN5TX/SezjCjzv/JV29SzlBAyKGeLDOfAiYqzrKcw= +github.com/flyteorg/flytestdlib v1.0.12/go.mod h1:nIBmBHtjTJvhZEn3e/EwVC/iMkR2tUX8hEiXjRBpH/s= +github.com/flyteorg/stow v0.3.6 h1:jt50ciM14qhKBaIrB+ppXXY+SXB59FNREFgTJqCyqIk= +github.com/flyteorg/stow v0.3.6/go.mod h1:5dfBitPM004dwaZdoVylVjxFT4GWAgI0ghAndhNUzCo= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= -github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= @@ -191,7 +195,7 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= @@ -206,26 +210,30 @@ github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL9 github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M= github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= +github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.4.1 h1:pC5DB52sCeK48Wlb9oPcdhnjkz1TKt1D/P7WKJ0kUcQ= +github.com/golang-jwt/jwt/v4 v4.4.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= +github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= @@ -233,6 +241,8 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= +github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -246,9 +256,12 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -260,15 +273,21 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0 h1:wCKgOCHuUEVfsaQLpPSJb7VdYCdTVZQAuOdYm1yc/60= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= +github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -276,87 +295,90 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200905233945-acf8798be1f7/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/readahead v0.0.0-20161222183148-eaceba169032/go.mod h1:qYysrqQXuV4tzsizt4oOQ6mrBZQ0xnQXP3ylXX8Jk5Y= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= +github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= +github.com/googleapis/gax-go/v2 v2.3.0 h1:nRJtk3y8Fm770D42QV6T90ZnvFZyk7agSo3Q+Z9p3WI= +github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= -github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/googleapis/go-type-adapters v1.0.0 h1:9XdMn+d/G57qq1s8dNc5IesGCXHf6V2HZ2JwRxfA2tA= +github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 h1:THDBEeQ9xZ8JEaCLyLQqXMMdRqNr0QAUJTIkQAUtFjg= github.com/grpc-ecosystem/go-grpc-middleware v1.1.0/go.mod h1:f5nM7jw/oeRSadq3xCzHAvxcr8HZnzsqU6ILg/0NiiE= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= +github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= +github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= +github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= +github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= +github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg= github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/jinzhu/now v1.1.3/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= -github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -368,176 +390,128 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxv github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= -github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.4/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= +github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= +github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= +github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs= +github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= -github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= -github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= -github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= -github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/ncw/swift v1.0.49/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/ncw/swift v1.0.53 h1:luHjjTNtekIEvHg5KdAFIBaH7bWfNkefwFnpDffSIks= github.com/ncw/swift v1.0.53/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= -github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= -github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= -github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= -github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= -github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= -github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= -github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= -github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= +github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.0.0-beta.8/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= -github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= -github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= -github.com/pkg/sftp v1.10.0/go.mod h1:NxmoDg/QLVWluQDUYG7XBZTLUpKeFa8e3aMf1BfjyHk= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pkg/sftp v1.13.4/go.mod h1:LzqnAvaD5TWeNBsZpfKxSYn1MbjWwOsCIAFFJbpIsK8= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/pquerna/ffjson v0.0.0-20190813045741-dac163c6c0a9/go.mod h1:YARuvh7BUWHNhzDq2OM5tzR2RiCcN2D7sapiKyCel/M= +github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= +github.com/pquerna/ffjson v0.0.0-20190930134022-aa0246cd15f7/go.mod h1:YARuvh7BUWHNhzDq2OM5tzR2RiCcN2D7sapiKyCel/M= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= +github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.9.0 h1:Rrch9mh17XcxvEu9D9DEpb4isxjGBtcevQjKvxPRQIU= -github.com/prometheus/client_golang v1.9.0/go.mod h1:FqZLKOZnGdFAhOK4nqGHa7D66IdsO+O441Eve7ptJDU= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= +github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.15.0 h1:4fgOnadei3EZvgRwxJ7RMpG1k1pOZth5Pc13tyspaKM= -github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.3.0 h1:Uehi/mxLK0eiUc0H0++5tpMGTexB8wZ598MIgU8VpDM= -github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= +github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= +github.com/sagikazarmark/crypt v0.5.0/go.mod h1:l+nzl7KWh51rpzp2h7t4MZWyiEWdhNpOAnclKvg+mdA= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.5.1/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= -github.com/spf13/cobra v1.1.1 h1:KfztREH0tPxJJ+geloSLaAkaPkr4ki2Er5quFV1TDo4= -github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= +github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= +github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= -github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUsX7Zk= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= @@ -548,55 +522,52 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= -github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/vektra/mockery v1.1.2 h1:uc0Yn67rJpjt8U/mAZimdCKn9AeA97BOkjpmtBSlfP4= -github.com/vektra/mockery v1.1.2/go.mod h1:VcfZjKaFOPO+MpN4ZvwPjs4c48lkq1o3Ym8yHZJu0jU= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= -go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= -go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +go.etcd.io/etcd/api/v3 v3.5.2/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= +go.etcd.io/etcd/client/pkg/v3 v3.5.2/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.etcd.io/etcd/client/v2 v2.305.2/go.mod h1:2D7ZejHVMIfog1221iLSYlQRzrtECw3kz4I4VAQm3qI= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.22.6 h1:BdkrbWrzDlV9dnbzoP7sfN+dHheJ4J9JOaYxcUDL+ok= -go.opencensus.io v0.22.6/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= +golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f h1:OeJjE6G4dgCY4PIXvIRQbE8+RX+uXZyGhUy/ksMGJoc= +golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -619,8 +590,8 @@ golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 h1:2M3HP5CCK1Si9FQhwnzYhXdG6DXeebvUHFpre8QvbyI= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -630,17 +601,14 @@ golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 h1:kQgndtyPBW/JIYERgdxfwMYh3AVStj88WQTlNDi2a+o= -golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -651,8 +619,8 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -667,18 +635,29 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= +golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f h1:OfiFi4JbukWwe3lzw+xunroH1mnC1e2Gy5cxNJApiSY= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -687,8 +666,19 @@ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013 h1:55H5j7lotzuFCEOKDsMch+fRNUQ9DgtyHOUP31FNqKc= -golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 h1:OSnWWcOd/CtWQC2cYSBgbTSJv3ciqd8r54ySIW2y3RE= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -700,15 +690,14 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -718,17 +707,19 @@ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -742,29 +733,63 @@ golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 h1:v6hYoSR9T5oet+pMXwUWkbiVqx/63mlHjefrHmxwfeY= +golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -772,7 +797,6 @@ golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 h1:Hir2P/De0WpUhtrKGGjvSb2YxUgyZ7EFOSLIcSSpiwE= golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -780,7 +804,6 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= @@ -789,11 +812,9 @@ golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -801,7 +822,6 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -812,7 +832,6 @@ golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200323144430-8dcfad9e016e/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= @@ -822,24 +841,26 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200828161849-5deb26317202/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20200915173823-2db8f0ff891c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20200918232735-d647fc253266/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.10 h1:QjFRCZxdOhBJ/UNgnBZLbNV13DlbnK0quyivTnXJM20= -golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f h1:GGU+dLjvlC3qDwqYgL6UgRmHXhOOgns0bZu2Ty5mm6U= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -856,14 +877,30 @@ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.31.0/go.mod h1:CL+9IBCa2WWU6gRuBWaKqGWLFFwbEUXkfeMkHLQWYWo= -google.golang.org/api v0.32.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.38.0 h1:vDyWk6eup8eQAidaZ31sNWIn8tZEL8qpbtGkBD4ytQo= -google.golang.org/api v0.38.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= +google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= +google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= +google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= +google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= +google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= +google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= +google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= +google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= +google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= +google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= +google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.76.0 h1:UkZl25bR1FHNqtK/EKs3vCdpZtUO6gea3YElTwc8pQg= +google.golang.org/api v0.76.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= @@ -876,7 +913,6 @@ google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRn google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= @@ -902,26 +938,59 @@ google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7Fc google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200831141814-d751682dd103/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200914193844-75d14daec038/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200921151605-7abf4a1a14d5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506 h1:uLBY0yHDCj2PMQ98KWDSIDFwn9zK2zh+tgWtbvPPBjI= -google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= +google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= +google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220426171045-31bebdecfb46 h1:G1IeWbjrqEq9ChWxEuRPJu6laA67+XgTFHVSAvepr38= +google.golang.org/genproto v0.0.0-20220426171045-31bebdecfb46/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= @@ -931,12 +1000,24 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0 h1:TwIQcH3es+MojMVojxxfQ3l3OF2KzlRxML2xZq0kRo8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc v1.46.0 h1:oCjezcn6g6A75TGoKYBPgKmVBLexhYLM6MebdrPApP8= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -946,26 +1027,23 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/kothar/go-backblaze.v0 v0.0.0-20190520213052-702d4e7eb465/go.mod h1:zJ2QpyDCYo1KvLXlmdnFlQAyF/Qfth0fB8239Qg7BIE= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/kothar/go-backblaze.v0 v0.0.0-20210124194846-35409b867216/go.mod h1:zJ2QpyDCYo1KvLXlmdnFlQAyF/Qfth0fB8239Qg7BIE= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -979,7 +1057,6 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gorm.io/gorm v1.22.4/go.mod h1:1aeVC+pe9ZmvKZban/gW4QPra7PRoTEssyc922qCAkk= -honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1008,4 +1085,3 @@ sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= -sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/protos/docs/core/core.rst b/protos/docs/core/core.rst index 43bf4c9c6..8c7cad010 100644 --- a/protos/docs/core/core.rst +++ b/protos/docs/core/core.rst @@ -528,6 +528,52 @@ flyteidl/core/errors.proto +.. _ref_flyteidl.core.CacheEvictionError: + +CacheEvictionError +------------------------------------------------------------------ + +Error returned if eviction of cached output fails and should be re-tried by the user. + + + +.. csv-table:: CacheEvictionError type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "code", ":ref:`ref_flyteidl.core.CacheEvictionError.Code`", "", "Error code to match type of cache eviction error encountered." + "message", ":ref:`ref_string`", "", "More detailed error message explaining the reason for the cache eviction failure." + "node_execution_id", ":ref:`ref_flyteidl.core.NodeExecutionIdentifier`", "", "ID of the node execution the cache eviction failed for." + "task_execution_id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "ID of the task execution the cache eviction failed for (if the node execution was part of a task execution)." + "workflow_execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution)." + + + + + + + +.. _ref_flyteidl.core.CacheEvictionErrorList: + +CacheEvictionErrorList +------------------------------------------------------------------ + +List of :ref:`ref_flyteidl.core.CacheEvictionError` encountered during a cache eviction request. + + + +.. csv-table:: CacheEvictionErrorList type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "errors", ":ref:`ref_flyteidl.core.CacheEvictionError`", "repeated", "" + + + + + + + .. _ref_flyteidl.core.ContainerError: ContainerError @@ -579,6 +625,25 @@ failure reasons to the execution engine. +.. _ref_flyteidl.core.CacheEvictionError.Code: + +CacheEvictionError.Code +------------------------------------------------------------------ + +Defines codes for distinguishing between errors encountered during cache eviction. + +.. csv-table:: Enum CacheEvictionError.Code values + :header: "Name", "Number", "Description" + :widths: auto + + "INTERNAL", "0", "Indicates a generic internal error occurred." + "RESERVATION_NOT_ACQUIRED", "1", "Indicates no reservation could be acquired before deleting an artifact." + "DATABASE_UPDATE_FAILED", "2", "Indicates updating the database entry related to the node execution failed." + "ARTIFACT_DELETE_FAILED", "3", "Indicates deleting the artifact from datacatalog failed." + "RESERVATION_NOT_RELEASED", "4", "Indicates the reservation previously acquired could not be released for an artifact." + + + .. _ref_flyteidl.core.ContainerError.Kind: ContainerError.Kind diff --git a/protos/docs/datacatalog/datacatalog.rst b/protos/docs/datacatalog/datacatalog.rst index a699b8837..789c0c69c 100644 --- a/protos/docs/datacatalog/datacatalog.rst +++ b/protos/docs/datacatalog/datacatalog.rst @@ -261,6 +261,43 @@ Dataset properties we can filter by +.. _ref_datacatalog.DeleteArtifactRequest: + +DeleteArtifactRequest +------------------------------------------------------------------ + +Request message for deleting an Artifact and its associated ArtifactData. + + + +.. csv-table:: DeleteArtifactRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "dataset", ":ref:`ref_datacatalog.DatasetID`", "", "ID of dataset the artifact is associated with" + "artifact_id", ":ref:`ref_string`", "", "" + "tag_name", ":ref:`ref_string`", "", "" + + + + + + + +.. _ref_datacatalog.DeleteArtifactResponse: + +DeleteArtifactResponse +------------------------------------------------------------------ + +Response message for deleting an Artifact. + + + + + + + + .. _ref_datacatalog.FilterExpression: FilterExpression @@ -915,6 +952,7 @@ Artifacts are associated with a Dataset, and can be tagged for retrieval. "ListArtifacts", ":ref:`ref_datacatalog.ListArtifactsRequest`", ":ref:`ref_datacatalog.ListArtifactsResponse`", "Return a paginated list of artifacts" "ListDatasets", ":ref:`ref_datacatalog.ListDatasetsRequest`", ":ref:`ref_datacatalog.ListDatasetsResponse`", "Return a paginated list of datasets" "UpdateArtifact", ":ref:`ref_datacatalog.UpdateArtifactRequest`", ":ref:`ref_datacatalog.UpdateArtifactResponse`", "Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage." + "DeleteArtifact", ":ref:`ref_datacatalog.DeleteArtifactRequest`", ":ref:`ref_datacatalog.DeleteArtifactResponse`", "Deletes an existing artifact, removing the stored artifact data from the underlying blob storage." "GetOrExtendReservation", ":ref:`ref_datacatalog.GetOrExtendReservationRequest`", ":ref:`ref_datacatalog.GetOrExtendReservationResponse`", "Attempts to get or extend a reservation for the corresponding artifact. If one already exists (ie. another entity owns the reservation) then that reservation is retrieved. Once you acquire a reservation, you need to periodically extend the reservation with an identical call. If the reservation is not extended before the defined expiration, it may be acquired by another task. Note: We may have multiple concurrent tasks with the same signature and the same input that try to populate the same artifact at the same time. Thus with reservation, only one task can run at a time, until the reservation expires. Note: If task A does not extend the reservation in time and the reservation expires, another task B may take over the reservation, resulting in two tasks A and B running in parallel. So a third task C may get the Artifact from A or B, whichever writes last." "ReleaseReservation", ":ref:`ref_datacatalog.ReleaseReservationRequest`", ":ref:`ref_datacatalog.ReleaseReservationResponse`", "Release the reservation when the task holding the spot fails so that the other tasks can grab the spot." diff --git a/protos/docs/service/service.rst b/protos/docs/service/service.rst index 3ca8ff500..d512bf581 100644 --- a/protos/docs/service/service.rst +++ b/protos/docs/service/service.rst @@ -225,6 +225,110 @@ RPCs defined in this service must be anonymously accessible. +.. _ref_flyteidl/service/cache.proto: + +flyteidl/service/cache.proto +================================================================== + + + + + +.. _ref_flyteidl.service.EvictCacheResponse: + +EvictCacheResponse +------------------------------------------------------------------ + + + + + +.. csv-table:: EvictCacheResponse type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "errors", ":ref:`ref_flyteidl.core.CacheEvictionErrorList`", "", "List of errors encountered during cache eviction (if any)." + + + + + + + +.. _ref_flyteidl.service.EvictExecutionCacheRequest: + +EvictExecutionCacheRequest +------------------------------------------------------------------ + + + + + +.. csv-table:: EvictExecutionCacheRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "workflow_execution_id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for." + + + + + + + +.. _ref_flyteidl.service.EvictTaskExecutionCacheRequest: + +EvictTaskExecutionCacheRequest +------------------------------------------------------------------ + + + + + +.. csv-table:: EvictTaskExecutionCacheRequest type fields + :header: "Field", "Type", "Label", "Description" + :widths: auto + + "task_execution_id", ":ref:`ref_flyteidl.core.TaskExecutionIdentifier`", "", "Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for." + + + + + + +.. + end messages + + +.. + end enums + + +.. + end HasExtensions + + + +.. _ref_flyteidl.service.CacheService: + +CacheService +------------------------------------------------------------------ + +CacheService defines an RPC Service for interacting with cached data in Flyte on a high level basis. + +.. csv-table:: CacheService service methods + :header: "Method Name", "Request Type", "Response Type", "Description" + :widths: auto + + "EvictExecutionCache", ":ref:`ref_flyteidl.service.EvictExecutionCacheRequest`", ":ref:`ref_flyteidl.service.EvictCacheResponse`", "Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`." + "EvictTaskExecutionCache", ":ref:`ref_flyteidl.service.EvictTaskExecutionCacheRequest`", ":ref:`ref_flyteidl.service.EvictCacheResponse`", "Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`." + +.. + end services + + + + .. _ref_flyteidl/service/dataproxy.proto: flyteidl/service/dataproxy.proto diff --git a/protos/flyteidl/core/errors.proto b/protos/flyteidl/core/errors.proto index d9a76d97d..d69492506 100644 --- a/protos/flyteidl/core/errors.proto +++ b/protos/flyteidl/core/errors.proto @@ -5,6 +5,7 @@ package flyteidl.core; option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core"; import "flyteidl/core/execution.proto"; +import "flyteidl/core/identifier.proto"; // Error message to propagate detailed errors from container executions to the execution // engine. @@ -33,3 +34,40 @@ message ErrorDocument { // The error raised during execution. ContainerError error = 1; } + +// Error returned if eviction of cached output fails and should be re-tried by the user. +message CacheEvictionError { + // Defines codes for distinguishing between errors encountered during cache eviction. + enum Code { + // Indicates a generic internal error occurred. + INTERNAL = 0; + // Indicates no reservation could be acquired before deleting an artifact. + RESERVATION_NOT_ACQUIRED = 1; + // Indicates updating the database entry related to the node execution failed. + DATABASE_UPDATE_FAILED = 2; + // Indicates deleting the artifact from datacatalog failed. + ARTIFACT_DELETE_FAILED = 3; + // Indicates the reservation previously acquired could not be released for an artifact. + RESERVATION_NOT_RELEASED = 4; + + } + + // Error code to match type of cache eviction error encountered. + Code code = 1; + // More detailed error message explaining the reason for the cache eviction failure. + string message = 2; + // ID of the node execution the cache eviction failed for. + core.NodeExecutionIdentifier node_execution_id = 3; + // Source of the node execution. + oneof source { + // ID of the task execution the cache eviction failed for (if the node execution was part of a task execution). + core.TaskExecutionIdentifier task_execution_id = 4; + // ID of the workflow execution the cache eviction failed for (if the node execution was part of a workflow execution). + core.WorkflowExecutionIdentifier workflow_execution_id = 5; + } +} + +// List of :ref:`ref_flyteidl.core.CacheEvictionError` encountered during a cache eviction request. +message CacheEvictionErrorList { + repeated CacheEvictionError errors = 1; +} \ No newline at end of file diff --git a/protos/flyteidl/datacatalog/datacatalog.proto b/protos/flyteidl/datacatalog/datacatalog.proto index 6f059159f..e4ffc8aa3 100644 --- a/protos/flyteidl/datacatalog/datacatalog.proto +++ b/protos/flyteidl/datacatalog/datacatalog.proto @@ -40,6 +40,16 @@ service DataCatalog { // Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage. rpc UpdateArtifact (UpdateArtifactRequest) returns (UpdateArtifactResponse); + // Deletes an existing artifact, removing the stored artifact data from the underlying blob storage. + rpc DeleteArtifact (DeleteArtifactRequest) returns (DeleteArtifactResponse); + + // Deletes multiple existing artifacts, removing the stored artifact data from the underlying blob storage. + // This endpoint is idempotent, trying to delete an unknown artifact or deleting existing artifact multiple times + // will not result in an error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts deleted, however the operation can simply be retried to remove the remaining entries. + rpc DeleteArtifacts (DeleteArtifactsRequest) returns (DeleteArtifactResponse); + // Attempts to get or extend a reservation for the corresponding artifact. If one already exists // (ie. another entity owns the reservation) then that reservation is retrieved. // Once you acquire a reservation, you need to periodically extend the reservation with an @@ -53,9 +63,23 @@ service DataCatalog { // a third task C may get the Artifact from A or B, whichever writes last. rpc GetOrExtendReservation (GetOrExtendReservationRequest) returns (GetOrExtendReservationResponse); + // Attempts to get or extend reservations for multiple artifacts in a single operation. + // The first non-recoverable error encountered will be returned. Note that this might leave some artifacts in a + // reserved state if one acquisition fails - retry the operation or release all attempted artifacts (as the release + // endpoint is idempotent) to ensure no resources are locked accidentally in case of an error. + rpc GetOrExtendReservations (GetOrExtendReservationsRequest) returns (GetOrExtendReservationsResponse); + // Release the reservation when the task holding the spot fails so that the other tasks // can grab the spot. rpc ReleaseReservation (ReleaseReservationRequest) returns (ReleaseReservationResponse); + + // Releases reservations for multiple artifacts in a single operation. + // This endpoint is idempotent, trying to release an unknown reservation or releasing existing reservations multiple + // times will not result in error. + // The first non-recoverable error encountered will be returned. Note that this might leave some of the requested + // artifacts in their previous reserved state, however the operation can simply be retried to remove the remaining + // reservations. + rpc ReleaseReservations (ReleaseReservationsRequest) returns (ReleaseReservationResponse); } /* @@ -199,6 +223,33 @@ message UpdateArtifactResponse { string artifact_id = 1; } +/* + * Request message for deleting an Artifact and its associated ArtifactData. + */ +message DeleteArtifactRequest { + // ID of dataset the artifact is associated with + DatasetID dataset = 1; + + // Either ID of artifact or name of tag of existing artifact + oneof query_handle { + string artifact_id = 2; + string tag_name = 3; + } +} + +// Request message for deleting multiple Artifacts and their associated ArtifactData. +message DeleteArtifactsRequest { + // List of deletion requests for artifacts to remove + repeated DeleteArtifactRequest artifacts = 1; +} + +/* + * Response message for deleting an Artifact. + */ +message DeleteArtifactResponse { + +} + /* * ReservationID message that is composed of several string fields. */ @@ -210,7 +261,7 @@ message ReservationID { string tag_name = 2; } -// Try to acquire or extend an artifact reservation. If an active reservation exists, retreive that instance. +// Try to acquire or extend an artifact reservation. If an active reservation exists, retrieve that instance. message GetOrExtendReservationRequest { // The unique ID for the reservation ReservationID reservation_id = 1; @@ -222,6 +273,12 @@ message GetOrExtendReservationRequest { google.protobuf.Duration heartbeat_interval = 3; } +// Request message for acquiring or extending reservations for multiple artifacts in a single operation. +message GetOrExtendReservationsRequest { + // List of reservation requests for artifacts to acquire + repeated GetOrExtendReservationRequest reservations = 1; +} + // A reservation including owner, heartbeat interval, expiration timestamp, and various metadata. message Reservation { // The unique ID for the reservation @@ -246,6 +303,12 @@ message GetOrExtendReservationResponse { Reservation reservation = 1; } +// List of reservations acquired for multiple artifacts in a single operation. +message GetOrExtendReservationsResponse { + // List of (newly created or existing) reservations for artifacts requested + repeated Reservation reservations = 1; +} + // Request to release reservation message ReleaseReservationRequest { // The unique ID for the reservation @@ -255,6 +318,12 @@ message ReleaseReservationRequest { string owner_id = 2; } +// Request message for releasing reservations for multiple artifacts in a single operation. +message ReleaseReservationsRequest { + // List of reservation requests for artifacts to release + repeated ReleaseReservationRequest reservations = 1; +} + // Response to release reservation message ReleaseReservationResponse { diff --git a/protos/flyteidl/service/admin.proto b/protos/flyteidl/service/admin.proto index 6905006bb..f6cfdee09 100644 --- a/protos/flyteidl/service/admin.proto +++ b/protos/flyteidl/service/admin.proto @@ -19,7 +19,6 @@ import "flyteidl/admin/task_execution.proto"; import "flyteidl/admin/version.proto"; import "flyteidl/admin/common.proto"; import "flyteidl/admin/description_entity.proto"; -import "flyteidl/core/identifier.proto"; // import "protoc-gen-swagger/options/annotations.proto"; // The following defines an RPC service that is also served over HTTP via grpc-gateway. diff --git a/protos/flyteidl/service/cache.proto b/protos/flyteidl/service/cache.proto new file mode 100644 index 000000000..f76537472 --- /dev/null +++ b/protos/flyteidl/service/cache.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; +package flyteidl.service; + +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/service"; + +import "google/api/annotations.proto"; +// import "protoc-gen-swagger/options/annotations.proto"; + +import "flyteidl/core/errors.proto"; +import "flyteidl/core/identifier.proto"; + +message EvictExecutionCacheRequest { + // Identifier of :ref:`ref_flyteidl.admin.Execution` to evict cache for. + core.WorkflowExecutionIdentifier workflow_execution_id = 1; +} + +message EvictTaskExecutionCacheRequest { + // Identifier of :ref:`ref_flyteidl.admin.TaskExecution` to evict cache for. + core.TaskExecutionIdentifier task_execution_id = 1; +} + +message EvictCacheResponse { + // List of errors encountered during cache eviction (if any). + core.CacheEvictionErrorList errors = 1; +} + +// CacheService defines an RPC Service for interacting with cached data in Flyte on a high level basis. +service CacheService { + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.Execution`. + rpc EvictExecutionCache (EvictExecutionCacheRequest) returns (EvictCacheResponse) { + option (google.api.http) = { + delete: "/api/v1/cache/executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}" + }; + // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // description: "Evicts all cached data for the referenced (workflow) execution." + // }; + } + + // Evicts all cached data for the referenced :ref:`ref_flyteidl.admin.TaskExecution`. + rpc EvictTaskExecutionCache (EvictTaskExecutionCacheRequest) returns (EvictCacheResponse) { + option (google.api.http) = { + delete: "/api/v1/cache/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}" + }; + // option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + // description: "Evicts all cached data for the referenced task execution." + // }; + } +}